45 bool bAlwaysFlush =
false,
47 string_view svFileName = L
"application");
53 virtual void flush()
override;
55 string_view svMessage,
57 const std::vector<logger_color_range>& colors,
58 verbosity eVerbosity)
override;
61 std::wofstream m_File;
Base class for logger streams.
Logger stream for file output.
virtual void do_log(string_view svMessage, const log_unit &logUnit, const std::vector< logger_color_range > &colors, verbosity eVerbosity) override
Proceed stream logging.
virtual void flush() override
Flush stream.
file_logger_stream(bool bAlwaysFlush=false, log_file_policy eLogFilePolicy=log_file_policy::append, string_view svFileName=L"application")
file_logger_stream object constructor
@ clear_then_uppend
clear file at start, then append
@ time_name
create new file with time name