mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/logger] Update lib/logger.rb
https://github.com/ruby/logger/commit/073a892ad9 Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
This commit is contained in:
parent
b9311e646e
commit
2427a11b35
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ require_relative 'logger/errors'
|
|||
# logger.add(0, "My message")
|
||||
# # => D, [2022-05-11T15:10:59.773668 #20536] DEBUG -- : My message
|
||||
#
|
||||
# You can specify a different setting in a new log
|
||||
# You can specify a different setting in a new logger
|
||||
# using keyword argument +level+ with an appropriate value:
|
||||
#
|
||||
# logger = Logger.new($stdout, level: Logger::ERROR)
|
||||
|
|
Loading…
Reference in a new issue