[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+:: # +logdev+::
# The log device. This is a filename (String), IO object (typically # 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+:: # +shift_age+::
# Number of old log files to keep, *or* frequency of rotation (+daily+, # Number of old log files to keep, *or* frequency of rotation (+daily+,
# +weekly+ or +monthly+). Default value is 0, which disables log file # +weekly+ or +monthly+). Default value is 0, which disables log file