Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cml
Interfaces
Logger
error
Cml\Interfaces\Logger::error PHP Method
Logger Interface Documentation
Show file
Open project: linhecheng/cmlphp
error()
public
method
运行时出现的错误,不需要立刻采取行动,但必须记录下来以备检测。
public
error
(
string
$message
,
array
$context
= [] ) :
null
$message
string
要记录到log的信息
$context
array
上下文信息
return
null
public function error($message, array $context = []);
Logger
alert
critical
debug
emergency
error
info
log
notice
warning