зеркало из https://github.com/github/ruby.git
[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:
Родитель
b9311e646e
Коммит
2427a11b35
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче