WC_Logger_Interface::critical()publicWC 1.0

Adds a critical level message.

Critical conditions. Example: Application component unavailable, unexpected exception.

Method of the class: WC_Logger_Interface{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Logger_Interface = new WC_Logger_Interface();
$WC_Logger_Interface->critical( $message, $context );
$message(string) (required)
Log message.
$context(array)
Additional information for log handlers.
Default: array()

WC_Logger_Interface::critical() code WC 9.4.2

public function critical( $message, $context = array() );