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/e6f2c64fc6 Co-authored-by: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
parent
45a92cc4fe
commit
1f1283b927
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ require_relative 'logger/errors'
|
|||
#
|
||||
# logger = Logger.new($stdout, level: Logger::ERROR)
|
||||
# logger.add(3)
|
||||
# # =? E, [2022-05-11T15:17:20.933362 #20536] ERROR -- : nil
|
||||
# # => E, [2022-05-11T15:17:20.933362 #20536] ERROR -- : nil
|
||||
# logger.add(2) # Silent.
|
||||
#
|
||||
# You can set the log level for an existing logger
|
||||
|
|
Loading…
Add table
Reference in a new issue