1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/logger] Mention behavior when logdev is a nil in the document

https://github.com/ruby/logger/commit/8dc270ee23
This commit is contained in:
Masataka Pocke Kuwabara 2020-03-30 19:39:29 +09:00 committed by Hiroshi SHIBATA
parent ae93ebae67
commit c7da0fcb39

View file

@ -349,8 +349,8 @@ class Logger
# === Args
#
# +logdev+::
# The log device. This is a filename (String) or IO object (typically
# +STDOUT+, +STDERR+, or an open file).
# The log device. This is a filename (String), IO object (typically
# +STDOUT+, +STDERR+, or an open file) or nil (it writes nothing).
# +shift_age+::
# Number of old log files to keep, *or* frequency of rotation (+daily+,
# +weekly+ or +monthly+). Default value is 0, which disables log file