зеркало из https://github.com/github/ruby.git
[ruby/logger] Update lib/logger.rb
https://github.com/ruby/logger/commit/98919e09e5 Co-authored-by: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
Родитель
2427a11b35
Коммит
00635f8d41
|
@ -175,7 +175,7 @@ require_relative 'logger/errors'
|
|||
#
|
||||
# You can use a custom formatter to escape message data;
|
||||
# this formatter uses
|
||||
# {String#dump}[https://ruby-doc.org/core-3.1.2/String.html#method-i-dump]
|
||||
# {String#dump}[https://docs.ruby-lang.org/en/master/String.html#method-i-dump]
|
||||
# to escape the message string:
|
||||
#
|
||||
# original_formatter = logger.formatter || Logger::Formatter.new
|
||||
|
|
Загрузка…
Ссылка в новой задаче