WordPress at Your Fingertips
function is not described

WC_Logger_Interface::emergency() public WC 1.0

Adds an emergency level message.

System is unusable.

{} 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->emergency( $message, $context );
$message(string) (required)
Log message.
$context(array)
Additional information for log handlers.

Code of WC_Logger_Interface::emergency() WC 5.5.2

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