Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
colors.h File Reference

Colorization functions. More...

#include "roc_core/log.h"
#include "roc_core/stddefs.h"
Include dependency graph for colors.h:

Go to the source code of this file.

Namespaces

 roc
 Root namespace.
 
 roc::core
 Basic building blocks.
 

Functions

bool roc::core::colors_available ()
 Check if current stderr is connected to a tty. More...
 
bool roc::core::format_colored (LogLevel level, const char *str, char *buf, size_t bufsz)
 Fill colored str into buf according to the log level. More...
 

Detailed Description

Colorization functions.

Definition in file colors.h.