Automattic\WooCommerce\Internal\EmailEditor
Logger::critical
Adds critical level log message.
Method of the class: Logger{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Logger = new Logger(); $Logger->critical( $message, $context ): void;
- $message(string) (required)
- The log message.
- $context(array)
- The log context.
Default: array()
Logger::critical() Logger::critical code WC 10.3.6
public function critical( string $message, array $context = array() ): void {
$this->log( WC_Log_Levels::CRITICAL, $message, $context );
}