DTMSGLOG(5)
okay bestie, welcome to the Dt/MsgLog.h glow-up β this is the file formats manual page, and she is all about message logging definitions πβ¨
πΈ NAME πΈ
Dt/MsgLog.h β message logging definitions. like, the header that defines the whole message-logging situation π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/MsgLog.h>
π DESCRIPTION π
The Dt/MsgLog.h header defines data types and function prototypes for the Message Logging Service. no cap, that's her whole job πβ¨
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,
β¦);
yes, DtMsgLogMesssage really has that triple-s energy in the original, bestie β copy it exactly and don't come for me π
DtMsgLogHandler DtMsgLogSetHandler(
DtMsgLogHandler handler;
FILE *DtMsgLogOpenFile(
const char *type,
char **filename_return);
π SEE ALSO π
go check out DtMsgLogMessage(3), DtMsgLogSetHandler(3), and DtMsgLogOpenFile(3) β iykyk π
β¨
and that's the cute little sign-off from the Dt/MsgLog.h file formats manual page πβ¨ β source/version/date deets weren't hanging out in this copy's footer, so I'm not making them up, periodt π«Άπ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms