diff --git a/docs/general/logging.md b/docs/general/logging.md index a37e5d9f..306bfd50 100644 --- a/docs/general/logging.md +++ b/docs/general/logging.md @@ -2,12 +2,12 @@ # Logging -If we are using ActiveModelSerializers on a Rails app by default the `Rails.logger` will be used. +The default logger in a Rails application will be `Rails.logger`. -On a non Rails enviroment by default the `ActiveSupport::TaggedLogging` will be -used. +When there is no `Rails.logger`, the default logger is an instance of +`ActiveSupport::TaggedLogging` logging to STDOUT. -You may customize the logger we by in an initializer, for example: +You may customize the logger in an initializer, for example: ```ruby ActiveModelSerializers.logger = Logger.new(STDOUT)