|
enum | DebugChannel {
Info = 1,
Warning = 2 << 0,
Error = 2 << 1,
Engine = 2 << 2,
Lua = 2 << 3,
Bitmaps = 2 << 4,
Models = 2 << 5,
Actors = 2 << 6,
Costumes = 2 << 7,
Chores = 2 << 8,
Fonts = 2 << 9,
Keyframes = 2 << 10,
Materials = 2 << 11,
Movie = 2 << 12,
Sound = 2 << 13,
Scripts = 2 << 14,
Sets = 2 << 15,
TextObjects = 2 << 16,
Patchr = 2 << 17,
Lipsync = 2 << 18,
Sprites = 2 << 19
} |
|
|
static void | registerDebugChannels () |
|
static bool | isChannelEnabled (DebugChannel chan) |
|
static void | debug (DebugChannel channel, const char *s,...) |
|
static void | warning (DebugChannel channel, const char *s,...) |
|
static void | error (DebugChannel channel, const char *s,...) |
|
static void | error (const char *s,...) |
|
◆ debug()
static void Grim::Debug::debug |
( |
DebugChannel |
channel, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
|
static |
Prints a message to the console (stdout), only if the specified debug channel or the channel Info are active.
- Parameters
-
channel | The debug channel to use. |
◆ warning()
static void Grim::Debug::warning |
( |
DebugChannel |
channel, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
|
static |
Prints a message to the console (sterr), only if the specified debug channel or the channel Warning are active.
- Parameters
-
channel | The debug channel to use. |
◆ error() [1/2]
static void Grim::Debug::error |
( |
DebugChannel |
channel, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
|
static |
Prints a message to the console (stderr) and exit the program immediately, only if the specified debug channel or the channel Error are active.
- Parameters
-
channel | The debug channel to use. |
◆ error() [2/2]
static void Grim::Debug::error |
( |
const char * |
s, |
|
|
|
... |
|
) |
| |
|
static |
Prints a message to the console (stderr) and exit the program immediately, only if the debug channel Error is active.
- Parameters
-
channel | The debug channel to use. |
The documentation for this class was generated from the following file: