[前][次][番号順一覧][スレッド一覧]

ruby-changes:44347

From: hsbt <ko1@a...>
Date: Fri, 14 Oct 2016 18:01:06 +0900 (JST)
Subject: [ruby-changes:44347] hsbt:r56420 (trunk): * lib/logger.rb: Improve Logger.new option documentation.

hsbt	2016-10-14 18:01:01 +0900 (Fri, 14 Oct 2016)

  New Revision: 56420

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56420

  Log:
    * lib/logger.rb: Improve Logger.new option documentation.
      [Feature #12803][ruby-core:77467]

  Modified files:
    trunk/ChangeLog
    trunk/lib/logger.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56419)
+++ ChangeLog	(revision 56420)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Oct 14 18:00:20 2016  SHIBATA Hiroshi  <hsbt@r...>
+
+	* lib/logger.rb: Improve Logger.new option documentation.
+	  [Feature #12803][ruby-core:77467]
+
 Fri Oct 14 17:20:24 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/optparse.rb (make_switch, parse_in_order): unify underscores
Index: lib/logger.rb
===================================================================
--- lib/logger.rb	(revision 56419)
+++ lib/logger.rb	(revision 56420)
@@ -356,8 +356,8 @@ class Logger https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L356
   #   Number of old log files to keep, *or* frequency of rotation (+daily+,
   #   +weekly+ or +monthly+). Default value is 0.
   # +shift_size+::
-  #   Maximum logfile size (only applies when +shift_age+ is a number). Default
-  #   value is 1MiB.
+  #   Maximum logfile size in bytes (only applies when +shift_age+ is a number).
+  #   Defaults to +1048576+ (1MB).
   # +level+::
   #   Logging severity threshold. Default values is Logger::DEBUG.
   # +progname+::

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]