WC_Logger_Interface::warning()publicWC 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.


null. Nothing.


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

Code of WC_Logger_Interface::warning() WC 6.8.2

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