WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

DataSourcePoller::get_logger() private WC 1.0

Get the logger instance.

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

No Hooks.

Return

WC_Logger. Nothing.

Usage

$result = DataSourcePoller::get_logger();

Code of DataSourcePoller::get_logger() WC 5.3.0

<?php
private static function get_logger() {
	if ( is_null( self::$logger ) ) {
		self::$logger = wc_get_logger();
	}

	return self::$logger;
}