WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin

DataSourcePoller::get_logger() protected WC 1.0

Get the logger instance.

{} It's a method of the class: DataSourcePoller{}

No Hooks.

Return

WC_Logger.

Usage

$result = DataSourcePoller::get_logger();

Code of DataSourcePoller::get_logger() WC 6.1.0

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

	return self::$logger;
}