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

This commit is contained in:
gabi 2015-01-03 11:46:50 +02:00
parent 267c9c68e1
commit 03735e225b

View File

@ -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)
{ {