PHP 인터페이스 ManaPHP\LoggerInterface

파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
debug ( string $message, array $context = [] ) : static Sends/Writes a debug message to the log
error ( string $message, array $context = [] ) : static Sends/Writes an error message to the log
fatal ( string $message, array $context = [] ) : static Sends/Writes a critical message to the log
getLevel ( ) : string Returns the current log level
getLevels ( ) : array
info ( string $message, array $context = [] ) : static Sends/Writes an info message to the log
setLevel ( string $level ) : static Filters the logs sent to the handlers to be greater or equals than a specific level
warning ( string $message, array $context = [] ) : static Sends/Writes a warning message to the log

메소드 상세

debug() 공개 메소드

Sends/Writes a debug message to the log
public debug ( string $message, array $context = [] ) : static
$message string
$context array
리턴 static

error() 공개 메소드

Sends/Writes an error message to the log
public error ( string $message, array $context = [] ) : static
$message string
$context array
리턴 static

fatal() 공개 메소드

Sends/Writes a critical message to the log
public fatal ( string $message, array $context = [] ) : static
$message string
$context array
리턴 static

getLevel() 공개 메소드

Returns the current log level
public getLevel ( ) : string
리턴 string

getLevels() 공개 메소드

public getLevels ( ) : array
리턴 array

info() 공개 메소드

Sends/Writes an info message to the log
public info ( string $message, array $context = [] ) : static
$message string
$context array
리턴 static

setLevel() 공개 메소드

Filters the logs sent to the handlers to be greater or equals than a specific level
public setLevel ( string $level ) : static
$level string
리턴 static

warning() 공개 메소드

Sends/Writes a warning message to the log
public warning ( string $message, array $context = [] ) : static
$message string
$context array
리턴 static