fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Macros | Functions
logmsg.c File Reference

unified system and error message handling More...

#include <unistd.h>
#include <stdarg.h>
#include <errno.h>
#include "buffer.h"
#include "fmt.h"
#include "str.h"
#include "stralloc.h"
#include "logmsg.h"
Include dependency graph for logmsg.c:

Go to the source code of this file.

Macros

#define WHO   "logmsg"
 

Functions

char * build_log_msg (const char *x[])
 
void logmsg (const char *who, int ecode, unsigned int class, const char *msg)
 

Detailed Description

unified system and error message handling

Author
kp, feh qlibs

Definition in file logmsg.c.

Macro Definition Documentation

◆ WHO

#define WHO   "logmsg"

Definition at line 17 of file logmsg.c.

Function Documentation

◆ build_log_msg()

char * build_log_msg ( const char *  x[])

Definition at line 19 of file logmsg.c.

Here is the call graph for this function:

◆ logmsg()

void logmsg ( const char *  who,
int  ecode,
unsigned int  class,
const char *  msg 
)

Definition at line 30 of file logmsg.c.

Here is the call graph for this function: