mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 18:39:03 +08:00
Fix to support formatting chars { or } when no args passed to log functions
This commit is contained in:
@@ -85,6 +85,13 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void write(const char* what)
|
||||||
|
{
|
||||||
|
if (_enabled)
|
||||||
|
_log_msg.raw << what;
|
||||||
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
line_logger& operator<<(const T& what)
|
line_logger& operator<<(const T& what)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user