\Monolog\HandlerAbstractHandler

Base Handler class providing basic level/bubble support

Summary

Methods
Properties
Constants
handleBatch()
close()
__destruct()
__sleep()
__construct()
isHandling()
setLevel()
getLevel()
setBubble()
getBubble()
reset()
No public properties found
No constants found
No protected methods found
$level
$bubble
N/A
No private methods found
No private properties found
N/A

Properties

$level

$level : int

Type

int

$bubble

$bubble : bool

Type

bool

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(int|string  $level = Logger::DEBUG, bool  $bubble = true) : mixed

Parameters

int|string $level

The minimum logging level at which this handler will be triggered

bool $bubble

Whether the messages that are handled can bubble up the stack or not

Returns

mixed —

isHandling()

isHandling(array  $record) : bool

{@inheritDoc}

Parameters

array $record

Returns

bool —

setLevel()

setLevel(mixed  $level) : self

Sets minimum logging level at which this handler will be triggered.

Parameters

mixed $level

Returns

self —

getLevel()

getLevel() : int

Gets minimum logging level at which this handler will be triggered.

Returns

int —

setBubble()

setBubble(bool  $bubble) : self

Sets the bubbling behavior.

Parameters

bool $bubble

true means that this handler allows bubbling. false means that bubbling is not permitted.

Returns

self —

getBubble()

getBubble() : bool

Gets the bubbling behavior.

Returns

bool —

true means that this handler allows bubbling. false means that bubbling is not permitted.

reset()

reset() : void