You are here

function monolog_syslog_handler_loader in Monolog 6

Same name and namespace in other branches
  1. 7 handlers/syslog.inc \monolog_syslog_handler_loader()

Monolog loader callback; Loads a SyslogHandler handler.

Return value

HandlerInterface

File

handlers/syslog.inc, line 15
Handler include for SyslogHandler.

Code

function monolog_syslog_handler_loader($options) {
  return new SyslogHandler($options['ident'], LOG_USER, $options['level'], $options['bubble']);
}