Automattic\WooCommerce\Utilities
LoggingUtil::logging_is_enabled()
Determine the current value of the logging_enabled setting.
Method of the class: LoggingUtil{}
No Hooks.
Return
true|false
.
Usage
$result = LoggingUtil::logging_is_enabled(): bool;
LoggingUtil::logging_is_enabled() LoggingUtil::logging is enabled code WC 9.4.2
public static function logging_is_enabled(): bool { return wc_get_container()->get( Settings::class )->logging_is_enabled(); }