mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
line_logger fixes
This commit is contained in:
@@ -48,7 +48,8 @@ public:
|
||||
_enabled(other._enabled) {}
|
||||
|
||||
~line_logger()
|
||||
{
|
||||
{
|
||||
//only if enabled and not empty
|
||||
if (!_empty)
|
||||
{
|
||||
_oss << os::eol();
|
||||
|
Reference in New Issue
Block a user