#include <Debug.h>
Inheritance diagram for Conjecture::Debug:
Public Types | |
enum | verboseLevel { DEBUG_LEVEL_NONE = 0x00, DEBUG_LEVEL_ERROR = 0x01, DEBUG_LEVEL_WARNING = 0x02, DEBUG_LEVEL_INFO = 0x04, DEBUG_LEVEL_IMAGES_BASIC = 0x40, DEBUG_LEVEL_IMAGES_FULL = 0x80, DEBUG_LEVEL_ALL = 0xFF } |
Public Member Functions | |
void | setLogStream (std::ostream &s) |
void | toggleLevel (verboseLevel l) |
void | untoggleLevel (verboseLevel l) |
void | setLevel (verboseLevel l) |
bool | isInLevel (verboseLevel l) |
virtual void | header (verboseLevel l) |
virtual Debug & | operator<< (const std::string &str) |
virtual Debug & | operator<< (const char *str) |
Static Public Member Functions | |
static Debug & | getHandle (void) |
Protected Member Functions | |
std::ostream * | outStream () |
const char * | levelToString (verboseLevel l) const |
Protected Attributes | |
verboseLevel | _level |
|
Verbose levels. |
|
Singleton access method.
|
|
Prints a header with standard information.
|
|
Checks if a given level should be printed.
|
|
Converts a verboseLevel to a string.
|
|
Overloads << operator.
|
|
Overloads << operator.
|
|
Accessor for the outStream field. |
|
Sets verbose flags.
|
|
Sets the target log stream.
|
|
Toggles verbose flags.
|
|
Untoggles verbose flags.
|
|
Current flags |