SingingCat 0
application
logging.h
1#ifndef LOGGING_H
2#define LOGGING_H 1
3
4void logging_set_node(long nodeid);
5void logging_on();
6void logging_off();
7void iplog(const char *format, ...);
9void logging_init();
10#endif
void logging_set_node(long nodeid)
log to a given node. Usually this would be an app or a server
Definition: logging.c:27
void logging_init()
initialise logging. logging is disabled after calling this function
Definition: logging.c:20
void logging_off()
disable logging and logging processing. guarantees that no buffers are used for logging
Definition: logging.c:34
void logging_event_loop()
sends current buffer and empties it
Definition: logging.c:54
void logging_on()
enable logging and logging processing. buffers are used for logging
Definition: logging.c:42
void iplog(const char *format,...)
log something to a remote node
Definition: logging.c:87