PHP 클래스 DebugKit\Log\Engine\DebugKitLog

상속: implements Cake\Log\LogInterface
파일 보기 프로젝트 열기: cakephp/debug_kit

보호된 프로퍼티들

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