1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/logger.rb: Comment fix. I don't like inline documentation... Hard to

maintain, doesn't go together with refactoring.  [defensively]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2003-09-18 07:58:09 +00:00
parent 7e1c97611a
commit c40f4227f5

View file

@ -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')