Cartflows_WC_Logger::log( string $level, string $message, array $context = array() )

Add a log entry.


Parameters

$level

(string) (Required) One of the following: 'emergency': System is unusable. 'alert': Action must be taken immediately. 'critical': Critical conditions. 'error': Error conditions. 'warning': Warning conditions. 'notice': Normal but significant condition. 'info': Informational messages. 'debug': Debug-level messages.

$message

(string) (Required) Log message.

$context

(array) (Optional) Additional information for log handlers.

Default value: array()


Source

File: classes/logger/class-cartflows-wc-logger.php