mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Changed the value that log_level takes to match the examples in the paragraph above
This commit is contained in:
parent
d02726c24c
commit
2b8c87404c
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ When something is logged it's printed into the corresponding log if the log leve
|
|||
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
|
||||
|
||||
<ruby>
|
||||
config.log_level = Logger::WARN # In any environment initializer, or
|
||||
config.log_level = :warn # In any environment initializer, or
|
||||
Rails.logger.level = 0 # at any time
|
||||
</ruby>
|
||||
|
||||
|
|
Loading…
Reference in a new issue