summaryrefslogtreecommitdiff
path: root/lib/logger.rb
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-16 05:14:23 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-16 05:14:23 +0000
commite16487938d8df491f12f84d77bb6109a15c918c3 (patch)
tree8002cfbb5156f3f16f71c5a65811309ce6285e06 /lib/logger.rb
parent48ea67b6cd922dc5b805f246f099d97abfcf28f7 (diff)
document fix [ruby-dev:26516] (patch from Kazuhiro NISHIYAMA)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r--lib/logger.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 363e977..1162e31 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -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
#