23 explicit Logger(
const std::string& path,
bool flush =
false);
27 void log(
const std::string& source,
const std::string& msg);
Logger(const std::string &path, bool flush=false)
Constructor.
Write log messages into a log file.
void log(const std::string &source, const std::string &msg)
Log message.