mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Expose line_logger enabled state to support custom operator<<'s
This commit is contained in:
@@ -206,6 +206,11 @@ public:
|
||||
_enabled = false;
|
||||
}
|
||||
|
||||
bool is_enabled()
|
||||
{
|
||||
return _enabled;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
logger* _callback_logger;
|
||||
|
Reference in New Issue
Block a user