diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-18 07:58:09 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-18 07:58:09 +0000 |
commit | c79d0f90c5450da697afa9f149d20279e4eb7a9c (patch) | |
tree | 6a312978b243d5b51f3763c1955ab18c3cb98104 /lib/logger.rb | |
parent | c280546c404e7343e92a4f99cece532480cc28d6 (diff) | |
download | ruby-c79d0f90c5450da697afa9f149d20279e4eb7a9c.tar.gz ruby-c79d0f90c5450da697afa9f149d20279e4eb7a9c.tar.xz ruby-c79d0f90c5450da697afa9f149d20279e4eb7a9c.zip |
* lib/logger.rb: Comment fix. I don't like inline documentation... Hard to
maintain, doesn't go together with refactoring. [defensively]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r-- | lib/logger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb index 34e64ddaf..848e6b397 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -23,11 +23,11 @@ # file = open('foo.log', File::WRONLY | File::APPEND) # # To create new (and to remove old) logfile, add File::CREAT like; # # file = open('foo.log', File::WRONLY | File::APPEND | File::CREAT) -# logger = Device::Logger.new(file) +# logger = Logger.new(file) # # 4. Create logger which ages logfile automatically. Leave 10 ages and each # file is about 102400 bytes. -# logger = Device::Logger.new('foo.log', 10, 102400) +# logger = Logger.new('foo.log', 10, 102400) # # 5. Create logger which ages logfile daily/weekly/monthly automatically. # logger = Logger.new('foo.log', 'daily') |