Automattic\WooCommerce\EmailEditor\Engine\Logger
Email_Editor_Logger_Interface::log
Logs with an arbitrary level.
Method of the class: Email_Editor_Logger_Interface{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Email_Editor_Logger_Interface = new Email_Editor_Logger_Interface(); $Email_Editor_Logger_Interface->log( $level, $message, $context ): void;
- $level(string) (required)
- The log level.
- $message(string) (required)
- The log message.
- $context(array)
- The log context.
Default:array()
Email_Editor_Logger_Interface::log() Email Editor Logger Interface::log code WC 10.8.1
public function log( string $level, string $message, array $context = array() ): void;