Things seem to work...
[matches/swarm.git] / src / log.h
1 #ifndef _LOG_H
2 #define _LOG_H
3
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <stdbool.h>
7
8 #include <stdarg.h>
9
10 enum {LOGERR=0, LOGWARN=1, LOGNOTE=2, LOGINFO=3,LOGDEBUG=4};
11
12 extern void log_print(int level, char * funct, char * fmt,...);
13 extern void error(char * funct, char * fmt, ...);
14
15 #endif //_LOG_H
16
17 //EOF

UCC git Repository :: git.ucc.asn.au