PHP Класс Monolog\Handler\AbstractHandler

Автор: Jordi Boggiano ([email protected])
Наследование: implements Monolog\Handler\HandlerInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$bubble
$formatter Monolog\Formatter\FormatterInterface
$level
$processors

Открытые методы

Метод Описание
__construct ( integer $level = Logger::DEBUG, boolean $bubble = true )
__destruct ( )
close ( ) Closes the handler.
getBubble ( ) : boolean Gets the bubbling behavior.
getFormatter ( )
getLevel ( ) : integer Gets minimum logging level at which this handler will be triggered.
handleBatch ( array $records )
isHandling ( array $record )
popProcessor ( )
pushProcessor ( $callback )
setBubble ( boolean $bubble ) Sets the bubbling behavior.
setFormatter ( Monolog\Formatter\FormatterInterface $formatter )
setLevel ( integer $level ) Sets minimum logging level at which this handler will be triggered.

Защищенные методы

Метод Описание
getDefaultFormatter ( ) : Monolog\Formatter\FormatterInterface Gets the default formatter.

Описание методов

__construct() публичный метод

public __construct ( integer $level = Logger::DEBUG, boolean $bubble = true )
$level integer The minimum logging level at which this handler will be triggered
$bubble boolean Whether the messages that are handled can bubble up the stack or not

__destruct() публичный метод

public __destruct ( )

close() публичный метод

This will be called automatically when the object is destroyed
public close ( )

getBubble() публичный метод

Gets the bubbling behavior.
public getBubble ( ) : boolean
Результат boolean True means that bubbling is not permitted. False means that this handler allows bubbling.

getDefaultFormatter() защищенный метод

Gets the default formatter.
protected getDefaultFormatter ( ) : Monolog\Formatter\FormatterInterface
Результат Monolog\Formatter\FormatterInterface

getFormatter() публичный метод

public getFormatter ( )

getLevel() публичный метод

Gets minimum logging level at which this handler will be triggered.
public getLevel ( ) : integer
Результат integer

handleBatch() публичный метод

public handleBatch ( array $records )
$records array

isHandling() публичный метод

public isHandling ( array $record )
$record array

popProcessor() публичный метод

public popProcessor ( )

pushProcessor() публичный метод

public pushProcessor ( $callback )

setBubble() публичный метод

Sets the bubbling behavior.
public setBubble ( boolean $bubble )
$bubble boolean True means that bubbling is not permitted. False means that this handler allows bubbling.

setFormatter() публичный метод

public setFormatter ( Monolog\Formatter\FormatterInterface $formatter )
$formatter Monolog\Formatter\FormatterInterface

setLevel() публичный метод

Sets minimum logging level at which this handler will be triggered.
public setLevel ( integer $level )
$level integer

Описание свойств

$bubble защищенное свойство

protected $bubble

$formatter защищенное свойство

protected FormatterInterface,Monolog\Formatter $formatter
Результат Monolog\Formatter\FormatterInterface

$level защищенное свойство

protected $level

$processors защищенное свойство

protected $processors