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/3dc5a8d7a4

Co-authored-by: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
Burdette Lamar 2022-05-12 13:21:06 -05:00 committed by git
parent 00635f8d41
commit 45a92cc4fe

View file

@ -245,7 +245,7 @@ require_relative 'logger/errors'
# With this level, entries with severity Logger::ERROR and higher
# are written, while those with lower severities are not written:
#
# logger = Logger.new($stdout)
# logger = Logger.new($stdout, level: Logger::ERROR)
# logger.add(3)
# # =? E, [2022-05-11T15:17:20.933362 #20536] ERROR -- : nil
# logger.add(2) # Silent.