aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/tagged_logging.rb
diff options
context:
space:
mode:
authorSemyon Perepelitsa <sema@sema.in>2012-01-21 17:37:42 +0800
committerSemyon Perepelitsa <sema@sema.in>2012-01-21 17:37:42 +0800
commitb7bf3c1a119e02ba5f40aa3df9e0a5be141abb3a (patch)
treee693a4a68c50c0b7d9c5b120eabc7d22479c4dfd /activesupport/lib/active_support/tagged_logging.rb
parent717510757df8601e241a5cde9466e795ad2b661d (diff)
downloadrails-b7bf3c1a119e02ba5f40aa3df9e0a5be141abb3a.tar.gz
rails-b7bf3c1a119e02ba5f40aa3df9e0a5be141abb3a.tar.bz2
rails-b7bf3c1a119e02ba5f40aa3df9e0a5be141abb3a.zip
TaggedLogging wraps an object, not a class.
Diffstat (limited to 'activesupport/lib/active_support/tagged_logging.rb')
-rw-r--r--activesupport/lib/active_support/tagged_logging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb
index e4e61e2964..1f9f681cdb 100644
--- a/activesupport/lib/active_support/tagged_logging.rb
+++ b/activesupport/lib/active_support/tagged_logging.rb
@@ -2,7 +2,7 @@ require 'active_support/core_ext/object/blank'
require 'logger'
module ActiveSupport
- # Wraps any standard Logger class to provide tagging capabilities. Examples:
+ # Wraps any standard Logger object to provide tagging capabilities. Examples:
#
# LOGGER = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
# LOGGER.tagged("BCX") { LOGGER.info "Stuff" } # Logs "[BCX] Stuff"