Automattic\WooCommerce\EmailEditor\Engine\Logger
Email_Editor_Logger_Interface::error
Runtime errors that do not require immediate action but should typically be logged and monitored.
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->error( $message, $context ): void;
- $message(string) (required)
- The log message.
- $context(array)
- The log context.
Default:array()
Email_Editor_Logger_Interface::error() Email Editor Logger Interface::error code WC 10.4.3
public function error( string $message, array $context = array() ): void;