You are here

function monolog_null_handler_loader in Monolog 7

Same name and namespace in other branches
  1. 6 handlers/null.inc \monolog_null_handler_loader()

Monolog loader callback; Loads a NullHandler handler.

Return value

HandlerInterface

File

handlers/null.inc, line 15
Handler include for NullHandler.

Code

function monolog_null_handler_loader($options) {
  return new NullHandler($options['level']);
}