aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-14 09:01:01 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-14 09:01:01 +0000
commit94422735ff498349d98b29decb08c9989f927efe (patch)
tree1d76330dceea69dafe257030538fc99188e22609 /lib/logger.rb
parent48826abbb4740bbc02b8516e23ab498543ea513b (diff)
downloadruby-94422735ff498349d98b29decb08c9989f927efe.tar.gz
* 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
Diffstat (limited to 'lib/logger.rb')
-rw-r--r--lib/logger.rb4
1 files changed, 2 insertions, 2 deletions
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+::