mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
Fix to support formatting chars { or } when no args passed to log functions
This commit is contained in:
parent
267c9c68e1
commit
03735e225b
@ -85,6 +85,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void write(const char* what)
|
||||
{
|
||||
if (_enabled)
|
||||
_log_msg.raw << what;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
line_logger& operator<<(const T& what)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user