1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +01:00

40 Commits

Author SHA1 Message Date
Jordi Boggiano
8108272c6c Added @covers annotations to everything 2011-06-29 20:23:08 +02:00
Jordi Boggiano
61d5a23e41 More test coverage of handlers/formatters 2011-06-29 19:24:29 +02:00
Jordi Boggiano
8492eb74b3 Merge pull request #33 from stof/rich_logging
Rich logging
2011-06-17 05:08:45 -07:00
Jordi Boggiano
ff6d7fce5c Adjusted tests 2011-06-10 16:07:53 +02:00
Christophe Coevoet
e9f3e0c2d7 Moved the channel as label on the FirePHP message for a better formatting 2011-06-01 00:43:09 +02:00
Christophe Coevoet
c1675c59d8 Added the support of a logging context 2011-06-01 00:10:38 +02:00
Jordi Boggiano
1defa7857f Fixed plugin protocol uri for FirePHPHandler, closes #25 2011-05-16 22:50:16 +02:00
lenar
b6949fbf8f Rename to GroupHandler, remove callback support, add couple of tests, try 2 2011-05-10 18:07:42 +03:00
lenar
0eb5896c5b Rename to GroupHandler, remove callback support, add couple of tests 2011-05-10 18:04:41 +03:00
Christophe Coevoet
d3bc58a01c Refactored the MailHandler to use the formatter to format the batch message 2011-05-08 15:18:58 +02:00
Christophe Coevoet
f9590bb545 Merge remote branch 'thesalla/mailhandler' into mailhandler 2011-05-08 14:44:25 +02:00
Christophe Coevoet
a75f7963ee Added the possibility to configure whether the FingersCrossedHandler should continue to buffer after being triggered or not
The change is BC as the default is to stop buffering.
2011-05-07 01:28:00 +02:00
Gyula Sallai
51a94dce2f Merge branches 'mailhandler' and 'master' into mailhandler 2011-05-01 09:10:27 +02:00
Gyula Sallai
d87ba1c6e5 Fixes 2011-04-28 18:02:38 +02:00
Jordi Boggiano
2b1c68e0d0 Make $initialized static
Removed custom writer, overriding is easy enough
CS fixes
Added TestFirePHPHandler class to enable testing of headers
2011-04-25 15:48:52 +02:00
Gyula Sallai
a1bc483041 Added SwiftMailerHandler, added write to MailHandler 2011-04-25 01:48:12 +02:00
Eric Clemmons
275084d5d7 Refactored header creation to use $key => $value pairs for easier support for 3rd-party Response objects 2011-04-23 17:52:32 -07:00
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
f158104762 Added tests for WildfireFormatter & FirePHPHandler 2011-04-22 14:12:12 -07:00
Gyula Sallai
1279194192 Added an abstract MailHandler class 2011-04-22 17:41:10 +02: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
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
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