QuestWeaver
A procedural quest generator
|
The logger used to print errors and debug messages. More...
#include <WeaverTypes.h>
Public Member Functions | |
virtual void | debug (const std::string &what) |
virtual void | error (const std::string &what) |
Static Public Member Functions | |
static void | Debug (const std::string &what) |
static void | Error (const std::string &what) |
static void | Error (ContractFailedException ex) |
static void | Fatal (const std::string &what) |
static void | Fatal (ContractFailedException ex) |
static std::shared_ptr< Logger > | Get () |
static void | Set (std::shared_ptr< Logger > newInstance) |
Public Attributes | |
bool | EatsNonFatalExceptions = false |
The logger used to print errors and debug messages.
The logger can also be configured to eat non-breaking exceptions (e.g. release mode) and prevent them from being thrown. Be aware that this might cause weird behavior!
Definition at line 120 of file WeaverTypes.h.
|
inlinevirtual |
Definition at line 131 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 163 of file WeaverTypes.h.
|
inlinevirtual |
Definition at line 127 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 135 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 141 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 152 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 156 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 169 of file WeaverTypes.h.
|
inlinestatic |
Definition at line 173 of file WeaverTypes.h.
bool weave::Logger::EatsNonFatalExceptions = false |
Definition at line 125 of file WeaverTypes.h.