Message, error, warning, and logging functionality.
More...
#include <Console.hh>
List of all members.
Classes |
| class | NullStream |
Public Member Functions |
|
void | Load () |
| | Load the message parameters.
|
| void | SetQuiet (bool q) |
| | Set quiet output.
|
| std::ostream & | ColorMsg (const std::string &lbl, int color) |
| | Use this to output a message to the terminal.
|
| std::ostream & | ColorErr (const std::string &lbl, const std::string &file, unsigned int line, int color) |
| | Use this to output an error to the terminal.
|
|
std::ofstream & | Log () |
| | Use this to output a message to a log file.
|
Static Public Member Functions |
|
static Console * | Instance () |
| | Return an instance to this class.
|
Detailed Description
Message, error, warning, and logging functionality.
Member Function Documentation
| std::ostream& ColorErr |
( |
const std::string & |
lbl, |
|
|
const std::string & |
file, |
|
|
unsigned int |
line, |
|
|
int |
color |
|
) |
| |
Use this to output an error to the terminal.
- Parameters:
-
| level | Level of the message |
| std::ostream& ColorMsg |
( |
const std::string & |
lbl, |
|
|
int |
color |
|
) |
| |
Use this to output a message to the terminal.
- Parameters:
-
| level | Level of the message |
Set quiet output.
- Parameters:
-
The documentation for this class was generated from the following file: