Skip to content

Commit

Permalink
Mention File::Null in Logger#new document
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Mar 31, 2020
1 parent 8dc270e commit 2e77277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ def fatal!; self.level = FATAL; end
#
# +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
Expand Down

0 comments on commit 2e77277

Please sign in to comment.