ruby-changes:61676
From: Masataka <ko1@a...>
Date: Thu, 11 Jun 2020 14:24:00 +0900 (JST)
Subject: [ruby-changes:61676] c7da0fcb39 (master): [ruby/logger] Mention behavior when logdev is a nil in the document
https://git.ruby-lang.org/ruby.git/commit/?id=c7da0fcb39 From c7da0fcb39b837a253f5e6d2d666637a390301e6 Mon Sep 17 00:00:00 2001 From: Masataka Pocke Kuwabara <kuwabara@p...> Date: Mon, 30 Mar 2020 19:39:29 +0900 Subject: [ruby/logger] Mention behavior when logdev is a nil in the document https://github.com/ruby/logger/commit/8dc270ee23 diff --git a/lib/logger.rb b/lib/logger.rb index 854687c..b2086dc 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -349,8 +349,8 @@ class Logger https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L349 # === 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/