mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Editing log levels to reflect this doc: http://api.rubyonrails.org/classes/ActiveSupport/BufferedLogger/Severity.html
This commit is contained in:
parent
3d9673d8f6
commit
544a10e428
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ h4. Log Levels
|
|||
|
||||
When something is logged it's printed into the corresponding log if the log level of the message is equal or higher than the configured log level. If you want to know the current log level you can call the +Rails.logger.level+ method.
|
||||
|
||||
The available log levels are: +:debug+, +:info+, +:warn+, +:error+, and +:fatal+, corresponding to the log level numbers from 0 up to 4 respectively. To change the default log level, use
|
||||
The available log levels are: +:debug+, +:info+, +:warn+, +:error+, +:fatal+, and +:unknown+, corresponding to the log level numbers from 0 up to 5 respectively. To change the default log level, use
|
||||
|
||||
<ruby>
|
||||
config.log_level = :warn # In any environment initializer, or
|
||||
|
|
Loading…
Reference in a new issue