We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51af5a4 commit 9c3431dCopy full SHA for 9c3431d
docs/general/logging.md
@@ -2,12 +2,12 @@
2
3
# Logging
4
5
-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`.
6
7
-On a non Rails enviroment by default the `ActiveSupport::TaggedLogging` will be
8
-used.
+When there is no `Rails.logger`, the default logger is an instance of
+`ActiveSupport::TaggedLogging` logging to STDOUT.
9
10
-You may customize the logger we by in an initializer, for example:
+You may customize the logger in an initializer, for example:
11
12
```ruby
13
ActiveModelSerializers.logger = Logger.new(STDOUT)
0 commit comments