summaryrefslogtreecommitdiff
path: root/test/logger
AgeCommit message (Collapse)Author
2005-09-15 * test/logger/test_logger.rb: unintentionally overwritten changes bynahi
Usa. reverted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-13 * lib/logger.rb (Logger): added formatter accessor to logger fornahi
dictating the way in which the logger should format the messages it displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and Daniel Berger. * lib/logger.rb (Logger): added VERSION constant. * lib/logger.rb: removed document for LogDevice. It is an implementation detail and is not a public interface. * test/logger/test_logger.rb: added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-24* test/logger/test_logger.rb (test_shifting_size): should close logusa
device before unlink, since some platform cannot unlink opened file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-20 * lib/logger.rb (write, shift_log?, shift_log): file shifting racenahi
condition bug fixed. [ruby-dev:26764] * test/logger/test_logger.rb: tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13Sun Nov 14 08:51:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>nahi
* test/logger/test_logger.rb: Logger just expects Logger#datetime_format to be used for Time#strftime independently of locale. [ruby-dev:24828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi
which responds to :to_str. commited at 2004-01-11T21:46:27 by gsinclair. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. commited at 2004-01-11T21:46:27 by gsinclair. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) follow above commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* test/logger/test_logger.rb: unlinking file before close causes problem undernahi
win32 box. * lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly when stringified and embedded into XML instance. Ruby's sprintf may format -0.0 as "0.0" (no minus sign) depending on underlying C sprintf implementation. * test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change. * test/soap/calc/*: give httpd config param "CGIInterpreter". "/usr/bin/env ruby" thing does not work under non-Unix boxes. * ChangeLog: corrected wrong DoW of my log entries... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* lib/logger.rb: check if the given logdevice object respond_to :write andnahi
: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
2003-09-23* lib/logger.rb: add Logger#<<(msg) for writing msg without any formatting.nahi
* test/logger/test_logger.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20* reduce expecting size of backtrace.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20* lib/logger.rb: typo fixed.nahi
* test/logger/test_logger.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e