1
0
Fork 0
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:
ocean 2005-07-16 05:14:23 +00:00
parent 049295f5cd
commit 5348402af5

View file

@ -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
#