13 lines
300 B
C
13 lines
300 B
C
|
#ifndef UTIL_LOGGER_H
|
||
|
#define UTIL_LOGGER_H
|
||
|
#include "massip-addr.h"
|
||
|
|
||
|
void LOG(int level, const char *fmt, ...);
|
||
|
void LOGip(int level, ipaddress ip, unsigned port, const char *fmt, ...);
|
||
|
void LOGnet(unsigned port_me, ipaddress ip_them, const char *fmt, ...);
|
||
|
|
||
|
|
||
|
void LOG_add_level(int level);
|
||
|
|
||
|
#endif
|