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