aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasataka Pocke Kuwabara <kuwabara@pocke.me>2020-03-30 19:39:29 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-11 14:22:19 +0900
commitc7da0fcb39b837a253f5e6d2d666637a390301e6 (patch)
treeb1786338cdf6f87e411124fa67308fc3e0461058
parentae93ebae677f685aab155d7982c64c1cb6e4b69c (diff)
downloadruby-c7da0fcb39b837a253f5e6d2d666637a390301e6.tar.gz
[ruby/logger] Mention behavior when logdev is a nil in the document
https://github.com/ruby/logger/commit/8dc270ee23
-rw-r--r--lib/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 854687c720..b2086dc8d3 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -349,8 +349,8 @@ class Logger
# === Args
#
# +logdev+::
- # The log device. This is a filename (String) or IO object (typically
- # +STDOUT+, +STDERR+, or an open file).
+ # The log device. This is a filename (String), IO object (typically
+ # +STDOUT+, +STDERR+, or an open file) or nil (it writes nothing).
# +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