#include "sections.h"
Go to the source code of this file.
Defines | |
| #define | LASTVALIDEVTNAME 35 /* last event name number in EvtNames */ |
| #define | debug_open() log_open () |
| #define | debug_close() log_close () |
| #define | debug(mask, args) {if ((DebugLevel)&(mask)) log_printf args;} |
| #define | debug_in(mask, args) {if ((DebugLevel)&(mask)) log_printf args;DebugIndentLevel+=2;} |
| #define | debug_enter_func(mask,) {if ((DebugLevel)&(mask)) log_printf ("-> "__FUNCTION__ __VA_ARGS__);DebugIndentLevel+=2;} |
| #define | debug_out(mask, args) {DebugIndentLevel-=2;if ((DebugLevel)&(mask)) log_printf args;} |
| #define | debug_exit_func(mask,) {DebugIndentLevel-=2;if ((DebugLevel)&(mask)) log_printf ("<- "__FUNCTION__ __VA_ARGS__);} |
Functions | |
| Err | log_open (void) LOG_SECTION |
| Opens a new log record in memo pad data base. | |
| void | log_close (void) LOG_SECTION |
| Closes the current log. | |
| void | log_write (char *p) LOG_SECTION |
| Writes the string given in the log, preceded by a time stamp and a newline. | |
| void | log_delete (void) LOG_SECTION |
| Closes and deletes the curent log. | |
| void | log_printf (Char *formatStr,...) LOG_SECTION |
| Internal use. | |
Variables | |
| int | DebugLevel |
| int | DebugIndentLevel |
| char * | EvtNames [] |
|
|
Closes the current log.
|
|
|
Closes and deletes the curent log.
|
|
|
Opens a new log record in memo pad data base.
|
|
||||||||||||
|
Internal use. Writes "printf" formatted messages to debug log
|
|
|
Writes the string given in the log, preceded by a time stamp and a newline.
|
1.3.6