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.
GLG, 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.
Enumerations | |
| enum | { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO } |
| < Status codes for log messages More... | |
| 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) |
| This procedure is functionally equivalent to psLogMsg(), except that it takes a va_list as the message parameter, not a printf-style string. | |
1.4.1