Eric Clemmons
12ab07447d
Refactored FirePHPHandler a bit to support Closures & Methods to override how headers are sent.
...
(Defaults to PHP's `header` function)
2011-04-23 15:33:39 -07:00
Eric Clemmons
92f866b9d6
Added "Functional" web-browser test page to verification
...
If there's a better way to test this, let me know. Since the handler reverse-engineers the Wildfire protocol, this was the easiest way to verify functionality.
2011-04-22 14:12:29 -07:00
Eric Clemmons
f158104762
Added tests for WildfireFormatter & FirePHPHandler
2011-04-22 14:12:12 -07:00
Christophe Coevoet
24dc9e91d0
Added a test for the FingersCrossedHandler reset method
2011-04-07 12:54:39 +02:00
Christophe Coevoet
2d959bf8b3
Added a level for the BufferHandler
2011-04-07 12:49:09 +02:00
Jordi Boggiano
7fd13f6aec
Minor fixes
2011-04-06 13:58:58 +02:00
Jordi Boggiano
a390331a5d
Copy paste detected :)
2011-04-06 13:58:57 +02:00
Christophe Coevoet
3cb3dbdc8f
Made the write method protected
...
Tests are not a good reason to make it public.
2011-04-06 13:22:06 +02:00
Jordi Boggiano
d0fce88274
Merge similar tests together
2011-04-05 23:36:18 +02:00
Jordi Boggiano
df1679967c
Added tests for RotatingFileHandler
2011-04-05 23:19:59 +02:00
Jordi Boggiano
51928a2f9e
Merge remote branch 'stof/fingerscrossed'
2011-04-05 10:40:10 +02:00
Christophe Coevoet
e32886e26f
Fixed callback factory for the FingersCrossedHandler
2011-04-05 10:29:08 +02:00
Christophe Coevoet
b2d356bbf2
Added a BufferHandler to allow batch processing of the records
2011-04-05 09:41:27 +02:00
Jordi Boggiano
d178bdce01
Syslog: moving LOG_LOCAL* out into the constructor for windows compat'
2011-03-23 23:39:00 +01:00
Jordi Boggiano
78d60f9dce
Coding style fixes
2011-03-23 23:29:33 +01:00
Sven Paulus
d9d0f51238
add SyslogHandler to Monolog
...
usage example:
$log = new Logger('application');
$syslog = new SyslogHandler('myfacility', 'local6');
$formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%");
$syslog->setFormatter($formatter);
$log->pushHandler($syslog);
2011-03-22 14:43:45 +01:00
Jordi Boggiano
6c24217c56
Renamed message to record
2011-02-25 23:01:43 +01:00
Jordi Boggiano
903bbd0fd6
Move the stack handling to the Logger class
2011-02-25 22:00:51 +01:00
Jordi Boggiano
0bb419cb95
Added array output to LineFormatter
2011-02-23 10:57:27 +01:00
Jordi Boggiano
811e6c79d6
Added docblocks and fixed a couple tests
2011-02-22 12:10:54 +01:00
Jordi Boggiano
a426ce2815
Added a Processor stack to the Logger class, added getHandler() to check if any handler is going to handle the message before processing it, handlers are now calling their parent in a chain
2011-02-21 20:38:18 +01:00
Jordi Boggiano
5ab1693f4d
Made getLevelName static
2011-02-20 22:44:32 +01:00
Jordi Boggiano
228af6a6cd
Documented and tested FingersCrossedHandler
2011-02-20 22:40:45 +01:00
Jordi Boggiano
0b04559217
Fixed AbstractHandler test
2011-02-20 22:40:16 +01:00
Jordi Boggiano
3fa6e4b91f
Major refactoring to follow the Logbook model
2011-02-20 20:53:11 +01:00
Jordi Boggiano
860194e879
Messages are now passed as arrays
2011-02-18 19:19:24 +01:00
Jordi Boggiano
594ed9cdcb
Simplified message levels
2011-02-18 00:44:21 +01:00
Jordi Boggiano
5411d236c1
renamed log/warn/.. to addMessage/addWarning/..
2011-02-18 00:36:08 +01:00
Jordi Boggiano
7239b5203b
Added tests, fixed a bunch of bugs
2011-02-17 03:04:37 +01:00
Jordi Boggiano
ed6b0e32a2
Initial commit
2011-02-17 02:08:00 +01:00