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:
parent
00635f8d41
commit
45a92cc4fe
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue