mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +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