[cvs] commit: framework/Log/Horde/Log Logger.php framework/Log/Horde/Log/Filter Interface.php Level.php Message.php framework/Log/Horde/Log/Formatter Interface.php Simple.php Xml.php framework/Log/Horde/Log/Handler Base.php Db.php Firebug.php ...
Chuck Hagenbuch
chuck at horde.org
Mon Oct 29 05:01:39 UTC 2007
chuck 2007-10-29 01:01:39 EDT
Modified files:
Log/Horde/Log Logger.php
Log/Horde/Log/Filter Interface.php Level.php Message.php
Log/Horde/Log/Formatter Interface.php Simple.php Xml.php
Log/Horde/Log/Handler Base.php Db.php Firebug.php Null.php
Stream.php
Log/tests/Horde/Log LogTest.php
Log/tests/Horde/Log/Filter LevelTest.php MessageTest.php
Log/tests/Horde/Log/Formatter SimpleTest.php XmlTest.php
Log/tests/Horde/Log/Handler DbTest.php FirebugTest.php
NullTest.php StreamTest.php
Log:
Handle log messages as events instead of hardcoding $message and
$level, to allow some more encapsulation. Also lets us include level
names, instead of integer log levels, in handler writes by default.
Revision Changes Path
1.3 +2 -3 framework/Log/Horde/Log/Filter/Interface.php
1.3 +3 -4 framework/Log/Horde/Log/Filter/Level.php
1.3 +3 -4 framework/Log/Horde/Log/Filter/Message.php
1.3 +4 -5 framework/Log/Horde/Log/Formatter/Interface.php
1.3 +10 -9 framework/Log/Horde/Log/Formatter/Simple.php
1.3 +6 -7 framework/Log/Horde/Log/Formatter/Xml.php
1.2 +7 -9 framework/Log/Horde/Log/Handler/Base.php
1.4 +8 -7 framework/Log/Horde/Log/Handler/Db.php
1.2 +8 -10 framework/Log/Horde/Log/Handler/Firebug.php
1.4 +1 -1 framework/Log/Horde/Log/Handler/Null.php
1.5 +6 -7 framework/Log/Horde/Log/Handler/Stream.php
1.4 +34 -7 framework/Log/Horde/Log/Logger.php
1.2 +3 -3 framework/Log/tests/Horde/Log/Filter/LevelTest.php
1.2 +2 -2 framework/Log/tests/Horde/Log/Filter/MessageTest.php
1.2 +4 -2 framework/Log/tests/Horde/Log/Formatter/SimpleTest.php
1.3 +3 -3 framework/Log/tests/Horde/Log/Formatter/XmlTest.php
1.2 +2 -2 framework/Log/tests/Horde/Log/Handler/DbTest.php
1.3 +5 -2 framework/Log/tests/Horde/Log/Handler/FirebugTest.php
1.2 +1 -1 framework/Log/tests/Horde/Log/Handler/NullTest.php
1.5 +6 -3 framework/Log/tests/Horde/Log/Handler/StreamTest.php
1.3 +2 -2 framework/Log/tests/Horde/Log/LogTest.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Filter/Interface.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Filter/Level.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Filter/Message.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Formatter/Interface.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Formatter/Simple.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Formatter/Xml.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Handler/Base.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Handler/Db.php?r1=1.3&r2=1.4&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Handler/Firebug.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Handler/Null.php?r1=1.3&r2=1.4&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Handler/Stream.php?r1=1.4&r2=1.5&ty=u
http://cvs.horde.org/diff.php/framework/Log/Horde/Log/Logger.php?r1=1.3&r2=1.4&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Filter/LevelTest.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Filter/MessageTest.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Formatter/SimpleTest.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Formatter/XmlTest.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Handler/DbTest.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Handler/FirebugTest.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Handler/NullTest.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/Handler/StreamTest.php?r1=1.4&r2=1.5&ty=u
http://cvs.horde.org/diff.php/framework/Log/tests/Horde/Log/LogTest.php?r1=1.2&r2=1.3&ty=u
More information about the cvs
mailing list