38 bool bAlwaysFlush =
false,
39 bool bUseColors =
true,
40 bool bDisableStdioSync =
true,
41 bool bUntieCin =
true);
45 virtual void flush()
override;
47 string_view svMessage,
49 const std::vector<logger_color_range>& colors,
50 verbosity eVerbosity)
override;
59 bool m_bUsingColors =
true;
Base class for logger streams.
Logger stream for std::cout output.
virtual void flush() override
Flush stream.
cout_logger_stream(bool bAlwaysFlush=false, bool bUseColors=true, bool bDisableStdioSync=true, bool bUntieCin=true)
cout_logger_stream object constructor
virtual void do_log(string_view svMessage, const log_unit &logUnit, const std::vector< logger_color_range > &colors, verbosity eVerbosity) override
Proceed stream logging.
void set_using_colors(bool bUsingColors) noexcept
Set whether cout output should be colored.