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

[ruby/logger] Mention File::Null in Logger#new document

https://github.com/ruby/logger/commit/2e772770be
This commit is contained in:
Masataka Pocke Kuwabara 2020-03-31 20:06:23 +09:00 committed by Hiroshi SHIBATA
parent c7da0fcb39
commit c1d1f92e8a

View file

@ -350,7 +350,8 @@ class Logger
#
# +logdev+::
# The log device. This is a filename (String), IO object (typically
# +STDOUT+, +STDERR+, or an open file) or nil (it writes nothing).
# +STDOUT+, +STDERR+, or an open file), +nil+ (it writes nothing) or
# +File::NULL+ (same as +nil+).
# +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