WC_Log_Handler_Interface::handle() public WC 1.0
Handle a log entry.
{} It's a 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.
Code of WC_Log_Handler_Interface::handle() WC Log Handler Interface::handle WC 5.0.0
public function handle( $timestamp, $level, $message, $context );