aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi2004-01-061-29/+17
| | | | | | | | | | | | | which responds to :to_str. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: enhanced documentation.gsinclair2004-01-051-207/+351
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: check if the given logdevice object respond_to :write andnahi2003-09-291-1/+1
| | | | | | | | | | | | :close, not is_a? IO. duck duck. * test/logger/test_logger.rb: self IO.pipe reading/writing may be locked by the flood. use tempfile. * lib/wsdl/xmlSchema/data.rb: wrong constant reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: add Logger#<<(msg) for writing msg without any formatting.nahi2003-09-231-0/+18
| | | | | | | * test/logger/test_logger.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: typo fixed.nahi2003-09-201-5/+8
| | | | | | | * test/logger/test_logger.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: Comment fix. I don't like inline documentation... Hard tonahi2003-09-181-2/+2
| | | | | | | 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
* * lib/logger.rb: new file. Logger, formerly called devel-logger ornahi2003-09-181-0/+574
Devel::Logger. * sample/logger/*: new file. samples of logger.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e