From 81ac73c04d9ebe2d29d890381fe6fbc6725e490d Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 3 Oct 2016 12:21:14 +0000 Subject: [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 --- lib/logger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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') -- cgit v1.2.3