wrench::TerminalOutput Class Reference

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

#include <TerminalOutput.h>

Public Types

enum  Color {
  COLOR_BLACK, COLOR_RED, COLOR_GREEN, COLOR_YELLOW,
  COLOR_BLUE, COLOR_MAGENTA, COLOR_CYAN, COLOR_WHITE
}
 Terminal output color enum. More...
 

Static Public Member Functions

static void setThisProcessLoggingColor (Color color)
 Set the color of log messages printed to the terminal. More...
 

Detailed Description

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

Member Enumeration Documentation

Terminal output color enum.

Enumerator
COLOR_BLACK 

Black text.

COLOR_RED 

Red text.

COLOR_GREEN 

Green text.

COLOR_YELLOW 

Yellow text.

COLOR_BLUE 

Blue text.

COLOR_MAGENTA 

Magenta text.

COLOR_CYAN 

Cyan text.

COLOR_WHITE 

White text.

Member Function Documentation

void wrench::TerminalOutput::setThisProcessLoggingColor ( Color  color)
static

Set the color of log messages printed to the terminal.

Parameters
colora terminal output color

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/logging/TerminalOutput.h
  • /home/wrench/wrench/src/wrench/logging/TerminalOutput.cpp