Automattic\WooCommerce\Admin

DataSourcePoller::get_logger()protected staticWC 1.0

Get the logger instance.

Method of the class: DataSourcePoller{}

No Hooks.

Return

WC_Logger.

Usage

$result = DataSourcePoller::get_logger();

DataSourcePoller::get_logger() code WC 7.3.0

protected static function get_logger() {
	if ( is_null( self::$logger ) ) {
		self::$logger = wc_get_logger();
	}

	return self::$logger;
}