mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
document fix [ruby-dev:26516] (patch from Kazuhiro NISHIYAMA)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
049295f5cd
commit
5348402af5
1 changed files with 3 additions and 4 deletions
|
@ -146,7 +146,7 @@
|
|||
#
|
||||
# 1. Original interface.
|
||||
#
|
||||
# logger.level = Logger::WARN
|
||||
# logger.sev_threshold = Logger::WARN
|
||||
#
|
||||
# 2. Log4r (somewhat) compatible interface.
|
||||
#
|
||||
|
@ -247,7 +247,6 @@ class Logger
|
|||
# required.
|
||||
#
|
||||
def initialize(logdev, shift_age = 0, shift_size = 1048576)
|
||||
@logdev = nil
|
||||
@progname = nil
|
||||
@level = DEBUG
|
||||
@datetime_format = nil
|
||||
|
@ -460,8 +459,8 @@ private
|
|||
#
|
||||
# == Synopsis
|
||||
#
|
||||
# Logger::LogDev.new(name, :shift_age => 'daily|weekly|monthly')
|
||||
# Logger::LogDev.new(name, :shift_age => 10, :shift_size => 1024*1024)
|
||||
# Logger::LogDevice.new(name, :shift_age => 'daily|weekly|monthly')
|
||||
# Logger::LogDevice.new(name, :shift_age => 10, :shift_size => 1024*1024)
|
||||
#
|
||||
# == Args
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue