WC_Logger_Interface::log()publicWC 1.0

Add a log entry.

Метод класса: WC_Logger_Interface{}

Хуков нет.


null. Ничего (null).


$WC_Logger_Interface = new WC_Logger_Interface();
$WC_Logger_Interface->log( $level, $message, $context );
$level(строка) (обязательный)
One of the following:
php 'emergency': System is unusable. 'alert': Action must be taken immediately. 'critical': Critical conditions. 'error': Error conditions. 'warning': Warning conditions. 'notice': Normal but significant condition. 'info': Informational messages. 'debug': Debug-level messages.
$message(строка) (обязательный)
Log message.
Additional information for log handlers.
По умолчанию: array()

Код WC_Logger_Interface::log() WC 8.5.2

public function log( $level, $message, $context = array() );