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
alert
Cml\Interfaces\Logger::alert PHP Method
Logger Interface Documentation
Show file
Open project: linhecheng/cmlphp
alert()
public
method
例如:在整个网站都垮掉了、数据库不可用了或者其他的情况下,**应该**发送一条警报短信把你叫醒。
public
alert
(
string
$message
,
array
$context
= [] ) :
null
$message
string
要记录到log的信息
$context
array
上下文信息
return
null
public function alert($message, array $context = []);
Logger
alert
critical
debug
emergency
error
info
log
notice
warning