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 | beginThisProcessColor () |
Turn on colored output for the calling process. | |
static void | disableColor () |
Disable color terminal output for all processes. | |
static void | disableLog () |
static void | endThisProcessColor () |
Turn off colored output for the calling process. | |
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
◆ Color
Member Function Documentation
◆ setThisProcessLoggingColor()
|
static |
Set the color of log messages printed to the terminal.
- Parameters
-
color a terminal output color
The documentation for this class was generated from the following files:
- TerminalOutput.h
- TerminalOutput.cpp