Dt/MsgLog.h(file formats) Dt/MsgLog.h(file formats)
NAME [Toc] [Back]
Dt/MsgLog.h - message logging definitions
SYNOPSIS [Toc] [Back]
#include <Dt/MsgLog.h>
DESCRIPTION [Toc] [Back]
The Dt/MsgLog.h header defines data types and function prototypes for
the Message Logging Service.
The Dt/MsgLog.h header provides the following data type declarations:
typedef enum {
DtMsgLogInformation,
DtMsgLogStderr,
DtMsgLogDebug,
DtMsgLogWarning,
DtMsgLogError
} DtMsgLogType;
typedef void (*DtMsgLogHandler) (
const char *program_name,
DtMsgLogType msg_type,
const char *format,
va_list args );
The Dt/MsgLog.h header defines the following functions:
void DtMsgLogMesssage(
const char *program_name,
DtMsgLogType msg_type,
const char *format,
...);
DtMsgLogHandler DtMsgLogSetHandler(
DtMsgLogHandler handler;
FILE *DtMsgLogOpenFile(
const char *type,
char **filename_return);
SEE ALSO [Toc] [Back]
DtMsgLogMessage(3), DtMsgLogSetHandler(3), and DtMsgLogOpenFile(3).
- 1 - Formatted: January 24, 2005 [ Back ] |