1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Jordi Boggiano
d3e89dbed1 Added CRITICAL and ALERT levels 2011-05-02 15:39:46 +02:00
Jordi Boggiano
6a5fabe2bd Fix typos 2011-04-06 13:42:10 +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
Christophe Coevoet
87332a3e4e Added phpdoc for all methods and added the typehint for the FormatterInterface 2011-04-06 00:50:18 +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
38a4ddf9f2 remove LOG_NDELAY from the openlog() call since the expected behaviour
to get a FALSE returned on connection problems isn't supported by
the underlying POSIX API.
2011-03-22 23:18:13 +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