WordPress at Your Fingertips
function is not described

WC_Logger_Interface::critical() public WC 1.0

Adds a critical level message.

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

{} It's a method of the class: WC_Logger_Interface{}

No Hooks.


null. Nothing.


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

Code of WC_Logger_Interface::critical() WC 5.8.0

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