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.
Метод класса: Email_Editor_Logger_Interface{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Email_Editor_Logger_Interface = new Email_Editor_Logger_Interface(); $Email_Editor_Logger_Interface->error( $message, $context ): void;
- $message(строка) (обязательный)
- The log message.
- $context(массив)
- The log context.
По умолчанию:array()
Код Email_Editor_Logger_Interface::error() Email Editor Logger Interface::error WC 10.8.1
public function error( string $message, array $context = array() ): void;