1
0
Fork 0
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:
Burdette Lamar 2022-05-12 13:21:20 -05:00 committed by git
parent 45a92cc4fe
commit 1f1283b927

View file

@ -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