wrench::TerminalOutput

class TerminalOutput

Color-enabling wrappers around Simgrid’s XBT_INFO, XBT_DEBUG, XBT_WARN logging macros.

Public Types

enum Color

Terminal output color enum.

Values:

enumerator COLOR_BLACK

Black text.

enumerator COLOR_RED

Red text.

enumerator COLOR_GREEN

Green text.

enumerator COLOR_YELLOW

Yellow text.

enumerator COLOR_BLUE

Blue text.

enumerator COLOR_MAGENTA

Magenta text.

enumerator COLOR_CYAN

Cyan text.

enumerator COLOR_WHITE

White text.

Public Static Functions

static void setThisProcessLoggingColor(Color color)

Set the color of log messages printed to the terminal.

Parameters:

color – a terminal output color