12 #ifndef ROC_CORE_CONSOLE_H_
13 #define ROC_CORE_CONSOLE_H_
37 class Console :
public NonCopyable<> {
55 const
bool colors_supported_;
#define ROC_ATTR_PRINTF(fmt_pos, args_pos)
Function gets printf-like arguments.
static Console & instance()
Get logger instance.
void println(Color color, const char *format,...)
Print line.
bool colors_supported()
Check if colors can be used.
static T & instance()
Get singleton instance.