/** * Check, if debug logging is enabled * * @since 1.0 * @return bool */ public static function is_debug_enabled() { if (null === self::$is_debug_enabled) { $condition = true; self::$is_debug_enabled = $condition; } return self::$is_debug_enabled; }