Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cannot use all syslog levels with SyslogHandler #69
The record comes from a Monolog record, so I don't see how your syslog handler could receive another log level. The SyslogHandler is about implementing a Monolog backend based on syslog, not about providing a direct PHP binding to syslog (use the built-in functions for this).
and skipping notice and emerf from the Monolog levels was an early design decision as @Seldaek considered that 8 log levels are generally useless (when do you need both
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This is acceptable as long as this behavior is documented. The monolog doc requires some complementary information http://symfony.com/doc/master/cookbook/logging/monolog.html