Skip to content

Commit

Permalink
[ruby/logger] Mention File::Null in Logger#new document
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke authored and hsbt committed Jun 11, 2020
1 parent c7da0fc commit c1d1f92
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 c1d1f92

Please sign in to comment.