22 mStream.open(mFileName.c_str(), std::ios_base::out);
39 if (mStream.is_open())
45 if (mStream.is_open())
51 if (mStream.is_open())
54 mStream << std::setw(2) << std::setfill(
'0') <<
_time->tm_hour <<
":"
55 << std::setw(2) << std::setfill(
'0') <<
_time->tm_min <<
":"
void setFileName(const std::string &_value)
void log(const std::string &_section, LogLevel _level, const struct tm *_time, const std::string &_message, const char *_file, int _line) override
const std::string & getFileName() const