![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <cat/threads/RegionAllocator.hpp>
Include dependency graph for Logging.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | cat::Enforcer |
| class | cat::Logging |
| class | cat::Recorder |
Namespaces | |
| namespace | cat |
Defines | |
| #define | DEBUG_ENFORCE(exp) if (0) ENFORCE(exp) |
| #define | ENFORCE(exp) if ( (exp) == 0 ) Enforcer(ENFORCE_EXPRESSION_STRING(exp) ENFORCE_FILE_LINE_STRING "\n") |
| #define | ENFORCE_EXPRESSION_STRING(exp) "Failed assertion (" #exp ")" |
| #define | ENFORCE_FILE_LINE_STRING " at " __FILE__ ":" CAT_STRINGIZE(__LINE__) |
| #define | EXCEPTION() Enforcer("Exception" ENFORCE_FILE_LINE_STRING "\n") |
| #define | FATAL(subsystem) RECORD(subsystem, LVL_FATAL) |
| #define | INANE(subsystem) RECORD(subsystem, LVL_INANE) |
| #define | INFO(subsystem) RECORD(subsystem, LVL_INFO) |
| #define | OOPS(subsystem) RECORD(subsystem, LVL_OOPS) |
| #define | RECORD(subsystem, severity) if (severity >= Logging::ii->_log_threshold) Recorder(subsystem, severity) |
| #define | USE_ENFORCE_EXPRESSION_STRING |
| #define | USE_ENFORCE_FILE_LINE_STRING |
| #define | WARN(subsystem) RECORD(subsystem, LVL_WARN) |
Typedefs | |
| typedef void(* | cat::LogCallback )(EventSeverity severity, const char *source, region_ostringstream &msg) |
Enumerations | |
| enum | cat::EventSeverity { cat::LVL_INANE, cat::LVL_INFO, cat::LVL_WARN, cat::LVL_OOPS, cat::LVL_FATAL, cat::LVL_SILENT } |
Functions | |
| void | cat::DefaultLogCallback (EventSeverity severity, const char *source, region_ostringstream &msg) |
| void | cat::FatalStop (const char *message) |
| region_string | cat::HexDumpString (const void *vdata, u32 bytes) |
| #define DEBUG_ENFORCE | ( | exp | ) | if (0) ENFORCE(exp) |
Definition at line 188 of file Logging.hpp.
| #define ENFORCE | ( | exp | ) | if ( (exp) == 0 ) Enforcer(ENFORCE_EXPRESSION_STRING(exp) ENFORCE_FILE_LINE_STRING "\n") |
Definition at line 182 of file Logging.hpp.
| #define ENFORCE_EXPRESSION_STRING | ( | exp | ) | "Failed assertion (" #exp ")" |
Definition at line 165 of file Logging.hpp.
| #define ENFORCE_FILE_LINE_STRING " at " __FILE__ ":" CAT_STRINGIZE(__LINE__) |
Definition at line 171 of file Logging.hpp.
| #define EXCEPTION | ( | ) | Enforcer("Exception" ENFORCE_FILE_LINE_STRING "\n") |
Definition at line 183 of file Logging.hpp.
| #define FATAL | ( | subsystem | ) | RECORD(subsystem, LVL_FATAL) |
Definition at line 137 of file Logging.hpp.
| #define INANE | ( | subsystem | ) | RECORD(subsystem, LVL_INANE) |
Definition at line 133 of file Logging.hpp.
| #define INFO | ( | subsystem | ) | RECORD(subsystem, LVL_INFO) |
Definition at line 134 of file Logging.hpp.
| #define OOPS | ( | subsystem | ) | RECORD(subsystem, LVL_OOPS) |
Definition at line 136 of file Logging.hpp.
| #define RECORD | ( | subsystem, | |
| severity | |||
| ) | if (severity >= Logging::ii->_log_threshold) Recorder(subsystem, severity) |
Definition at line 130 of file Logging.hpp.
| #define USE_ENFORCE_EXPRESSION_STRING |
Definition at line 160 of file Logging.hpp.
| #define USE_ENFORCE_FILE_LINE_STRING |
Definition at line 161 of file Logging.hpp.
| #define WARN | ( | subsystem | ) | RECORD(subsystem, LVL_WARN) |
Definition at line 135 of file Logging.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.