Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More docs on tagged logging #19236

Merged
merged 2 commits into from
Apr 24, 2015
Merged

More docs on tagged logging #19236

merged 2 commits into from
Apr 24, 2015

Conversation

sshaw
Copy link
Contributor

@sshaw sshaw commented Mar 7, 2015

Mention that tags can also come from a Proc that accepts the request object, or something's to_s method

Mention that tags can also come from a Proc that accepts the request
object or something's to_s method
@@ -7,6 +7,9 @@
module Rails
module Rack
# Sets log tags, logs the request, calls the app, and flushes the logs.
#
# Log tags can be an Array containing: methods that the <tt>request</tt> object responds to, a Proc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the code below, "Log tags" in this context could be called +taggers+ right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just repurposing existing terminology in the docs. "Log tags" is more clear, I think. When I hear the word "taggers" I think of people who do graffiti or work in the garment industry.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sshaw yea that's true but since these docs are close to the source it's still nice to know where the "Log tags" are stored. What about: Log tags (+taggers+) can be ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works. Updated.

senny added a commit that referenced this pull request Apr 24, 2015
More docs on tagged logging [ci skip]
@senny senny merged commit dc69844 into rails:master Apr 24, 2015
@senny
Copy link
Member

senny commented Apr 24, 2015

thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants