WC_Logger_Interface::alert()publicWC 1.0

Adds an alert level message.

Action must be taken immediately. Example: Entire website down, database unavailable, etc.

Method of the class: WC_Logger_Interface{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Logger_Interface::alert() code WC 8.9.0

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