/home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Internal/EmailEditor
NameSizeModeActions
EmailPatterns/-0755rm
EmailTemplates/-0755rm
PersonalizationTags/-0755rm
WCTransactionalEmails/-0755rm
BlockEmailRenderer.php55200644editdlrm
EmailApiController.php87600644editdlrm
Integration.php154690644editdlrm
Logger.php42010644editdlrm
Package.php16750644editdlrm
PageRenderer.php47280644editdlrm
PersonalizationTagManager.php22500644editdlrm
TransactionalEmailPersonalizer.php34610644editdlrm
WooContentProcessor.php28980644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Internal/EmailEditor/Logger.php (4201B)
wc_logger = $wc_logger; } /** * Checks if the log level should be handled. * * @param string $level The log level. * @return bool Whether the log level should be handled. */ private function should_handle( string $level ): bool { /** * Controls the logging threshold for the email editor. * * @param string $threshold The log level threshold. * * @since 10.2.0 */ $logging_threshold = apply_filters( 'woocommerce_email_editor_logging_threshold', WC_Log_Levels::WARNING ); return WC_Log_Levels::get_level_severity( $logging_threshold ) <= WC_Log_Levels::get_level_severity( $level ); } /** * Adds emergency level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function emergency( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::EMERGENCY, $message, $context ); } /** * Adds alert level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function alert( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::ALERT, $message, $context ); } /** * Adds critical level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function critical( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::CRITICAL, $message, $context ); } /** * Adds error level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function error( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::ERROR, $message, $context ); } /** * Adds warning level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function warning( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::WARNING, $message, $context ); } /** * Adds notice level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function notice( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::NOTICE, $message, $context ); } /** * Adds info level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function info( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::INFO, $message, $context ); } /** * Adds debug level log message. * * @param string $message The log message. * @param array $context The log context. * @return void */ public function debug( string $message, array $context = array() ): void { $this->log( WC_Log_Levels::DEBUG, $message, $context ); } /** * Logs with an arbitrary level. * * @param string $level The log level. * @param string $message The log message. * @param array $context The log context. * @return void */ public function log( string $level, string $message, array $context = array() ): void { if ( $this->should_handle( $level ) ) { $this->wc_logger->log( $level, $message, $context ); } } }