Skip to content

Commit 2e77277

Browse files
committed
Mention File::Null in Logger#new document
1 parent 8dc270e commit 2e77277

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/logger.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ def fatal!; self.level = FATAL; end
350350
#
351351
# +logdev+::
352352
# The log device. This is a filename (String), IO object (typically
353-
# +STDOUT+, +STDERR+, or an open file) or nil (it writes nothing).
353+
# +STDOUT+, +STDERR+, or an open file), +nil+ (it writes nothing) or
354+
# +File::NULL+ (same as +nil+).
354355
# +shift_age+::
355356
# Number of old log files to keep, *or* frequency of rotation (+daily+,
356357
# +weekly+ or +monthly+). Default value is 0, which disables log file

0 commit comments

Comments
 (0)