37 #define PAUSE_READLINE() \ 38 rdln::suspend_readline pause_readline; 40 #define PAUSE_READLINE() 53 std::stringstream m_oss;
67 , m_log_level(log_level)
73 : m_flush(
std::
move(rhs.m_flush))
78 , m_oss(rhs.m_oss.str(),
std::ios_base::out |
std::ios_base::ate)
80 , m_color(
std::
move(rhs.m_color))
81 , m_log_level(
std::
move(rhs.m_log_level))
103 MCLOG_FILE(m_log_level,
"msgwriter", m_oss.str());
108 std::cout << m_oss.str();
113 std::cout << m_oss.str();
116 std::cout << std::endl;
Information representing errors in application but application will keep running. ...
Level
Represents enumeration for severity level used to determine level of logging.
void reset_console_color()
void set_console_color(int color, bool bright)
Mainly useful to represent current progress of application.
const T & move(const T &t)
#define MCLOG_FILE(level, cat, x)