Logger
extends Facade
in package
Table of Contents
Properties
- $container : Container
- $instance : mixed
Methods
- __callStatic() : mixed
- alert() : void
- critical() : void
- debug() : void
- emergency() : void
- error() : void
- getInstance() : mixed
- get service instance
- info() : void
- notice() : void
- setContainer() : void
- warning() : void
- getServiceAlias() : string
- getServiceInstance() : mixed
- isCache() : bool
Properties
$container
protected
static Container
$container
$instance
protected
static mixed
$instance
Methods
__callStatic()
public
static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
alert()
public
static alert(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
アラートレベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
critical()
public
static critical(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
クリティカルレベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
debug()
public
static debug(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
デバッグレベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
emergency()
public
static emergency(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
緊急レベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
error()
public
static error(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
エラーレベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
getInstance()
get service instance
public
static getInstance() : mixed
info()
public
static info(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
情報レベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
notice()
public
static notice(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
通知レベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
setContainer()
public
static setContainer(Container $container) : void
Parameters
- $container : Container
warning()
public
static warning(string $message[, array<string|int, mixed> $context = = '[]' ]) : void
警告レベルのログを記録
Parameters
- $message : string
- $context : array<string|int, mixed> = = '[]'
getServiceAlias()
protected
static getServiceAlias() : string
Return values
stringgetServiceInstance()
protected
static getServiceInstance(string $alias) : mixed
Parameters
- $alias : string
isCache()
protected
static isCache() : bool