replace constexpr with const becasuse vs2013 lack of support

This commit is contained in:
gabi
2014-05-13 01:41:04 +03:00
parent 3d5ee3ff56
commit ed6532b9f0
12 changed files with 289 additions and 13 deletions

View File

@@ -34,10 +34,12 @@ public:
{
details::fast_oss oss;
_format_time(msg.time, oss);
if(!msg.logger_name.empty())
oss << " [" << msg.logger_name << ':' << c11log::level::to_str(msg.level) << "] ";
else
oss << " [" << c11log::level::to_str(msg.level) << "] ";
oss << msg.raw << details::os::eol();
msg.formatted = oss.str();
}