PHP 클래스 Monolog\Handler\AbstractHandler

저자: Jordi Boggiano ([email protected])
상속: implements Monolog\Handler\HandlerInterface
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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