Commit 03735e22 authored by gabi's avatar gabi

Fix to support formatting chars { or } when no args passed to log functions

parent 267c9c68
...@@ -85,6 +85,13 @@ public: ...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment