WC_Log_Handler_Interface
in
Log Handler Interface
Tags
Table of Contents
- handle() : bool
- Handle a log entry.
Methods
handle()
Handle a log entry.
public
handle(int $timestamp, string $level, string $message, array $context) : bool
Parameters
- $timestamp : int
-
Log timestamp.
- $level : string
-
emergency|alert|critical|error|warning|notice|info|debug.
- $message : string
-
Log message.
- $context : array
-
Additional information for log handlers.