Cartflows_Log_Handler::format_entry( int $timestamp, string $level, string $message, array $context )

Builds a log entry text from level, timestamp 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.php