This file will hold the prototypes for defining procedure which set message log levels, messahe log formats, message log destinations, and for generating the messages themselves.
George Gusciora, MHPCC
Definition in file psLogMsg.h.
#include <stdarg.h>
#include "psType.h"
Include dependency graph for psLogMsg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | PS_LOG_MSG_H |
Enumerations | |
| enum | { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO } |
| enum | { PS_LOG_NONE, PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT } |
Functions | |
| psBool | psLogSetDestination (const char *dest) |
| This procedure sets the destination for future log messages. | |
| psS32 | psLogSetLevel (psS32 level) |
| This procedure sets the message level for future log messages. | |
| void | psLogSetFormat (const char *fmt) |
| This procedure sets the log format for future log messages. | |
| void | psLogMsg (const char *name, psS32 myLevel, const char *fmt,...) |
| This procedure logs a message to the destination set by a prior call to psLogSetDestination(), if myLevel is less than the level specified by a prior call to psLogSetLevel(). | |
| void | psLogMsgV (const char *name, psS32 myLevel, const char *fmt, va_list ap) |
| Status codes for log messages. | |
|
|
Definition at line 19 of file psLogMsg.h. |
1.3.9.1