PHP Интерфейс ManaPHP\LoggerInterface

Показать файл Открыть проект

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

Метод Описание
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