level_.load(std::memory_order_acquire) & ~FLAG_INHERIT);
}
+ /**
+ * Get the log level and inheritance flag.
+ */
+ std::pair<LogLevel, bool> getLevelInfo() const {
+ auto value = level_.load(std::memory_order_acquire);
+ return {static_cast<LogLevel>(value & ~FLAG_INHERIT),
+ bool(value & FLAG_INHERIT)};
+ }
+
/**
* Get the effective level for this log category.
*