8 #ifndef __WVCOLORLOGCONSOLE_H
9 #define __WVCOLORLOGCONSOLE_H
23 WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
26 static bool is_tty(
int fd);
27 static bool can_colorize(
int fd,
const char *TERM);
29 static const char *color_start_seq(WvLog::LogLevel log_level);
30 static const char *clear_to_eol_seq(WvLog::LogLevel log_level);
31 static const char *color_end_seq(WvLog::LogLevel log_level);
35 virtual void _mid_line(
const char *str,
size_t len);
39 #endif // __WVCOLORLOGCONSOLE_H