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

Code of WC_Logger_Interface::warning() WC 5.0.0

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