DART  6.6.2
Console.hpp File Reference
#include <string>
#include <ostream>

Go to the source code of this file.

Namespaces

 dart
 
 dart::common
 

Macros

#define dtmsg   (::dart::common::colorMsg("Msg", 32))
 Output a message. More...
 
#define dtdbg   (::dart::common::colorMsg("Dbg", 36))
 Output a debug message. More...
 
#define dtwarn   (::dart::common::colorErr("Warning", __FILE__, __LINE__, 33))
 Output a warning message. More...
 
#define dterr   (::dart::common::colorErr("Error", __FILE__, __LINE__, 31))
 Output an error message. More...
 

Functions

std::ostream & dart::common::colorMsg (const std::string &_msg, int _color)
 
std::ostream & dart::common::colorErr (const std::string &_msg, const std::string &_file, unsigned int _line, int _color)
 

Macro Definition Documentation

◆ dtdbg

#define dtdbg   (::dart::common::colorMsg("Dbg", 36))

Output a debug message.

◆ dterr

#define dterr   (::dart::common::colorErr("Error", __FILE__, __LINE__, 31))

Output an error message.

◆ dtmsg

#define dtmsg   (::dart::common::colorMsg("Msg", 32))

Output a message.

◆ dtwarn

#define dtwarn   (::dart::common::colorErr("Warning", __FILE__, __LINE__, 33))

Output a warning message.