WordPress at Your Fingertips
function is not described

WC_Logger_Interface::warning() public WC 1.0

Adds a warning level message.

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

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

Code of WC_Logger_Interface::warning() WC 5.8.0

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