mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
DEPRECATED: operator<< API
This commit is contained in:
@@ -74,7 +74,7 @@ inline spdlog::details::line_logger spdlog::logger::_log_if_enabled(level::level
|
||||
{
|
||||
bool msg_enabled = should_log(lvl);
|
||||
details::line_logger l(this, lvl, msg_enabled);
|
||||
l << msg;
|
||||
l.write("{}", msg);
|
||||
return l;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user