\Monolog\HandlerNullHandler

Blackhole

Any record it can handle will be thrown away. This can be used to put on top of an existing stack to override it temporarily.

Summary

Methods
Properties
Constants
handleBatch()
close()
__destruct()
__sleep()
__construct()
isHandling()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$level
N/A

Properties

$level

$level : int

Type

int

Methods

handleBatch()

handleBatch(array  $records) : void

Handles a set of records at once.

Parameters

array $records

The records to handle (an array of record arrays)

close()

close() : void

Closes the handler.

__destruct()

__destruct() : mixed

Returns

mixed —

__sleep()

__sleep() : mixed

Returns

mixed —

__construct()

__construct(string|int  $level = Logger::DEBUG) : mixed

Parameters

string|int $level

The minimum logging level at which this handler will be triggered

Returns

mixed —

isHandling()

isHandling(array  $record) : bool

{@inheritDoc}

Parameters

array $record

Returns

bool —

handle()

handle(array  $record) : bool

{@inheritDoc}

Parameters

array $record

Returns

bool —