clogger  Version 2.1.1
API Reference for clogger
console.h File Reference

Functions to manipulate the console/terminal text colours. More...

Macros

#define CLOGGER_FOREGROUND_INTENSE   0x0008
 Flag to make the text colour intense/bright.
 
#define CLOGGER_BACKGROUND_INTENSE   0x0080
 Flag to make the text colour highlight intense/bright.
 
#define CLOGGER_UNDERSCORE   0x8000
 Flag to underline the test.
 

Functions

void clog_set_console_colour (CLoggerConsoleColour console_colour, CLoggerUInt16 flags)
 Function to set the text colour in the console. More...
 
void clog_reset_console_colour ()
 Function that resets the text colour back to normal.
 
void clog_set_console_color (CLoggerConsoleColor console_color, unsigned short flags)
 Function to set the text color in the console. More...
 
void clog_reset_console_color ()
 Function that resets the text color back to normal.
 

Detailed Description

Functions to manipulate the console/terminal text colours.

Function Documentation

◆ clog_set_console_colour()

void clog_set_console_colour ( CLoggerConsoleColour  console_colour,
CLoggerUInt16  flags 
)

Function to set the text colour in the console.

Parameters
console_colour[in] Colour of the text
flags[in] Flags to manipulate the text colour

◆ clog_set_console_color()

void clog_set_console_color ( CLoggerConsoleColor  console_color,
unsigned short  flags 
)

Function to set the text color in the console.

Parameters
console_colour[in] Color of the text
flags[in] Flags to manipulate the text color