// helper for setting the normal log details in an entry std::string LogMessage::DefaultLogDetailsToString(const LogMessage& msg) { std::string out; out.append(msg.timestamp() + "\t" + msg.level() + " [" + msg.file() + "->" + msg.function() + ":" + msg.line() + "]\t"); return out; }
// helper for setting the normal log details in an entry std::string LogDetailsToString(const LogMessage& msg) { std::string out; out.append("\n" + msg.timestamp() + " " + msg.microseconds() + "\t" + msg.level() + " [" + msg.file() + ":" + msg.line() + "]\t"); return out; }