PHP 클래스 Airship\Engine\Ledger

Logs messages in the appropriate ledger storage device.
상속: implements LoggerInterface
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$storage

공개 메소드들

메소드 설명
__construct ( Airship\Engine\Contract\LedgerStorageInterface $storage = null, $args ) Ledger constructor.
alert ( string $message, array $context = [] ) : mixed Store an ALERT message
critical ( string $message, array $context = [] ) : mixed Store a CRITICAL message
debug ( string $message, array $context = [] ) : mixed Store a DEBUG message
defaultContext ( ) : array All things equal, this information should be included.
emergency ( string $message, array $context = [] ) : mixed Store an EMERGENCY message
error ( string $message, array $context = [] ) : mixed Store an ERROR message
info ( string $message, array $context = [] ) : mixed Store a INFO message
log ( string $level, string $message, array $context = [] ) : mixed Log a message, optionally sign and seal it, if you passed the right keys to the constructor.
notice ( string $message, array $context = [] ) : mixed Store a NOTICE message
warning ( string $message, array $context = [] ) : mixed Store a WARNING message

메소드 상세

__construct() 공개 메소드

Ledger constructor.
public __construct ( Airship\Engine\Contract\LedgerStorageInterface $storage = null, $args )
$storage Airship\Engine\Contract\LedgerStorageInterface
$args

alert() 공개 메소드

Store an ALERT message
public alert ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

critical() 공개 메소드

Store a CRITICAL message
public critical ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

debug() 공개 메소드

Store a DEBUG message
public debug ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

defaultContext() 공개 메소드

All things equal, this information should be included.
public defaultContext ( ) : array
리턴 array

emergency() 공개 메소드

Store an EMERGENCY message
public emergency ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

error() 공개 메소드

Store an ERROR message
public error ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

info() 공개 메소드

Store a INFO message
public info ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

log() 공개 메소드

Log a message, optionally sign and seal it, if you passed the right keys to the constructor.
public log ( string $level, string $message, array $context = [] ) : mixed
$level string
$message string
$context array
리턴 mixed

notice() 공개 메소드

Store a NOTICE message
public notice ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

warning() 공개 메소드

Store a WARNING message
public warning ( string $message, array $context = [] ) : mixed
$message string
$context array
리턴 mixed

프로퍼티 상세

$storage 보호되어 있는 프로퍼티

protected $storage