You are here

null.inc in Monolog 6

Same filename and directory in other branches
  1. 7 handlers/null.inc

Handler include for NullHandler.

File

handlers/null.inc
View source
<?php

/**
 * @file
 * Handler include for NullHandler.
 */
use Monolog\Handler\NullHandler;

/**
 * Monolog loader callback; Loads a NullHandler handler.
 *
 * @return HandlerInterface
 */
function monolog_null_handler_loader($options) {
  return new NullHandler($options['level']);
}

/**
 * Monolog settings form; Settings for the NullHandler handler.
 */
function monolog_null_handler_settings(&$form, &$form_state, $profile, array $handler) {
  $form['bubble']['#access'] = FALSE;
}

Functions

Namesort descending Description
monolog_null_handler_loader Monolog loader callback; Loads a NullHandler handler.
monolog_null_handler_settings Monolog settings form; Settings for the NullHandler handler.