WC_Log_Handler_Interface::handle()publicWC 1.0

Handle a log entry.

Method of the class: WC_Log_Handler_Interface{}

No Hooks.

Return

true|false. False if value was not handled and true if value was handled.

Usage

$WC_Log_Handler_Interface = new WC_Log_Handler_Interface();
$WC_Log_Handler_Interface->handle( $timestamp, $level, $message, $context );
$timestamp(int) (required)
Log timestamp.
$level(string) (required)
emergency|alert|critical|error|warning|notice|info|debug.
$message(string) (required)
Log message.
$context(array) (required)
Additional information for log handlers.

WC_Log_Handler_Interface::handle() code WC 9.3.3

public function handle( $timestamp, $level, $message, $context );