Cartflows_Log_Handler_File::format_entry( int $timestamp, string $level, string $message, array $context )
Builds a log entry text from timestamp, level and message.
Parameters
- $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.
Return
(string) Formatted log entry.
Source
File: classes/logger/class-cartflows-log-handler-file.php