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