Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCEmailTemplateChangeSummary::get_loggerprivate staticWC 1.0

Return the logger instance, lazily creating it the first time.

Method of the class: WCEmailTemplateChangeSummary{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WCEmailTemplateChangeSummary::get_logger(): Email_Editor_Logger_Interface;

WCEmailTemplateChangeSummary::get_logger() code WC 10.9.1

private static function get_logger(): Email_Editor_Logger_Interface {
	if ( null === self::$logger ) {
		self::$logger = new Logger( wc_get_logger() );
	}
	return self::$logger;
}