* 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
Родитель 7e1c97611a
Коммит c40f4227f5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -23,11 +23,11 @@
# file = open('foo.log', File::WRONLY | File::APPEND) # file = open('foo.log', File::WRONLY | File::APPEND)
# # To create new (and to remove old) logfile, add File::CREAT like; # # To create new (and to remove old) logfile, add File::CREAT like;
# # file = open('foo.log', File::WRONLY | File::APPEND | File::CREAT) # # 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 # 4. Create logger which ages logfile automatically. Leave 10 ages and each
# file is about 102400 bytes. # 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. # 5. Create logger which ages logfile daily/weekly/monthly automatically.
# logger = Logger.new('foo.log', 'daily') # logger = Logger.new('foo.log', 'daily')