PHP Класс DebugKit\Log\Engine\DebugKitLog

Наследование: implements Cake\Log\LogInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$_logs array logs

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

Метод Описание
all ( ) : array Get the logs.
count ( ) : integer Get the number of log entries.
log ( string $type, string $message, array $context = [] ) : void Captures log messages in memory
noLogs ( ) : boolean Check if there are no logs.

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

all() публичный Метод

Get the logs.
public all ( ) : array
Результат array

count() публичный Метод

Get the number of log entries.
public count ( ) : integer
Результат integer

log() публичный Метод

Captures log messages in memory
public log ( string $type, string $message, array $context = [] ) : void
$type string The type of message being logged.
$message string The message being logged.
$context array Additional context data
Результат void

noLogs() публичный Метод

Check if there are no logs.
public noLogs ( ) : boolean
Результат boolean

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

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

logs
protected array $_logs
Результат array