Automattic\WooCommerce\Utilities

LoggingUtil::logging_is_enabledpublic staticWC 1.0

Determine the current value of the logging_enabled setting.

Method of the class: LoggingUtil{}

No Hooks.

Returns

true|false.

Usage

$result = LoggingUtil::logging_is_enabled(): bool;

LoggingUtil::logging_is_enabled() code WC 10.3.6

public static function logging_is_enabled(): bool {
	return wc_get_container()->get( Settings::class )->logging_is_enabled();
}