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:
parent
c7da0fcb39
commit
c1d1f92e8a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue