summaryrefslogtreecommitdiffstats
path: root/lib/logger.rb
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (string_content): turn off NODE_NEWLINE flag to avoidmatz2004-05-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | unnecessary line trace for inlined expression. (ruby-bugs PR#1320) * numeric.c (flo_to_s): tweak output string based to preserve decimal point and to remove trailing zeros. [ruby-talk:97891] * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM search. [ruby-talk:97342] * hash.c (rb_hash_equal): returns true if two hashes have same set of key-value set. [ruby-talk:97559] * hash.c (rb_hash_eql): returns true if two hashes are equal and have same default values. * string.c (rb_str_equal): always returns true or false, never returns nil. [ruby-dev:23404] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,nobu2004-04-181-2/+2
| | | | | | | | | | | | | | lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: trim tail space of each line. no user visible change.nahi2004-03-261-7/+7
| | | | | | | | | * lib/rss/dublincore.rb: fixed class definition mismatch. * sample/openssl/gen_csr.rb: fixed wrong usage text. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: leading 0 padding of timestamp usec part.nahi2004-01-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: enhanced documentation.gsinclair2004-01-051-207/+351
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@4568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e