From 94422735ff498349d98b29decb08c9989f927efe Mon Sep 17 00:00:00 2001 From: hsbt Date: Fri, 14 Oct 2016 09:01:01 +0000 Subject: * lib/logger.rb: Improve Logger.new option documentation. [Feature #12803][ruby-core:77467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/logger.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0a518a6b1..653bdf8cb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 14 18:00:20 2016 SHIBATA Hiroshi + + * lib/logger.rb: Improve Logger.new option documentation. + [Feature #12803][ruby-core:77467] + Fri Oct 14 17:20:24 2016 Nobuyoshi Nakada * lib/optparse.rb (make_switch, parse_in_order): unify underscores diff --git a/lib/logger.rb b/lib/logger.rb index 54fde9517d..e0c93c323c 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -356,8 +356,8 @@ class Logger # 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+:: -- cgit v1.2.3