PHP 인터페이스 Kraken\Log\LoggerInterface

상속: extends Kraken\Util\Enum\EnumInterface, extends Psr\Log\LoggerInterface
파일 보기 프로젝트 열기: kraken-php/framework 0 사용 예제들

공개 메소드들

메소드 설명
getHandlers ( ) : Kraken\Log\Handler\HandlerInterface[] Get all handlers from the stack.
getLevelName ( integer $level ) : string | null Get the name of the logging level.
getLevels ( ) : int[] Get all supported logging levels.
getName ( ) : string Return name of logger.
getProcessors ( ) : callable[] Get all processors from the stack.
isHandling ( integer $level ) : boolean Check whether the Logger has a handler that listens on the given level.
popHandler ( ) : Kraken\Log\Handler\HandlerInterface | null Pop handler from the stack.
popProcessor ( ) : callable | null Removes the processor on top of the stack and returns it.
pushHandler ( Kraken\Log\Handler\HandlerInterface $handler ) Push handler on to the stack.
pushProcessor ( callable $callback ) Add processor on to the stack.

메소드 상세

getHandlers() 공개 메소드

Get all handlers from the stack.
public getHandlers ( ) : Kraken\Log\Handler\HandlerInterface[]
리턴 Kraken\Log\Handler\HandlerInterface[]

getLevelName() 공개 메소드

Get the name of the logging level.
public getLevelName ( integer $level ) : string | null
$level integer
리턴 string | null

getLevels() 공개 메소드

Get all supported logging levels.
public getLevels ( ) : int[]
리턴 int[]

getName() 공개 메소드

Return name of logger.
public getName ( ) : string
리턴 string

getProcessors() 공개 메소드

Get all processors from the stack.
public getProcessors ( ) : callable[]
리턴 callable[]

isHandling() 공개 메소드

Check whether the Logger has a handler that listens on the given level.
public isHandling ( integer $level ) : boolean
$level integer
리턴 boolean

popHandler() 공개 메소드

Pop handler from the stack.
public popHandler ( ) : Kraken\Log\Handler\HandlerInterface | null
리턴 Kraken\Log\Handler\HandlerInterface | null

popProcessor() 공개 메소드

Removes the processor on top of the stack and returns it.
public popProcessor ( ) : callable | null
리턴 callable | null

pushHandler() 공개 메소드

Push handler on to the stack.
public pushHandler ( Kraken\Log\Handler\HandlerInterface $handler )
$handler Kraken\Log\Handler\HandlerInterface

pushProcessor() 공개 메소드

Add processor on to the stack.
public pushProcessor ( callable $callback )
$callback callable