WC_Logger_Interface::emergency()
Adds an emergency level message.
System is unusable.
Method of the class: WC_Logger_Interface{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Logger_Interface = new WC_Logger_Interface(); $WC_Logger_Interface->emergency( $message, $context );
- $message(string) (required)
- Log message.
- $context(array)
- Additional information for log handlers.
Default: array()
WC_Logger_Interface::emergency() WC Logger Interface::emergency code WC 9.7.1
public function emergency( $message, $context = array() );