WordPress at a glance
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.

Return

Null. Nothing.

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.

Code of WC_Logger_Interface::critical() WC 5.0.0

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