50 std::string_view _section,
52 const struct tm* _time,
53 std::string_view _message,
54 std::string_view _file,
57 if (mStream.is_open())
59 std::string_view separator =
" | ";
60 mStream << std::setw(2) << std::setfill(
'0') << _time->tm_hour <<
":" << std::setw(2) << std::setfill(
'0')
61 << _time->tm_min <<
":" << std::setw(2) << std::setfill(
'0') << _time->tm_sec << separator
62 << _section << separator << _level.
print() << separator << _message << separator << _file
63 << separator << _line << std::endl;