diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-03 12:21:14 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-03 12:21:14 +0000 |
commit | 81ac73c04d9ebe2d29d890381fe6fbc6725e490d (patch) | |
tree | 1ab39a56942c19b4d37fd010409c3848b43a7172 /lib/logger.rb | |
parent | 787e878863d32d297373d7a4796271923246ae4d (diff) | |
download | ruby-81ac73c04d9ebe2d29d890381fe6fbc6725e490d.tar.gz |
[DOC] Fix default value of shift_age [ci skip]
`LogDevice#initialize` treats shift_age: nil as 7, but
Logger#initialize has the default value of shift_age as 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r-- | lib/logger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/logger.rb b/lib/logger.rb index 8551abc7ac..a81b7cc182 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -340,7 +340,7 @@ class Logger # # :call-seq: - # Logger.new(logdev, shift_age = 7, shift_size = 1048576) + # Logger.new(logdev, shift_age = 0, shift_size = 1048576) # Logger.new(logdev, shift_age = 'weekly') # Logger.new(logdev, level: :info) # Logger.new(logdev, progname: 'progname') |