aboutsummaryrefslogtreecommitdiff
path: root/log.h
blob: 384f0e6dcec9e0cefac787e159d1952473383bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $Date: 2010-09-30 15:40:39 -0300 (Thu, 30 Sep 2010) $ */
/* $Revision: 1364 $ */

#ifndef __LOG_H
#define __LOG_H

#include <stdio.h>

int log_open(const char *filename, const int level);
void log_close(void);

void debug1(const char *format, ...) __attribute__((format(printf, 1, 2)));
void debug2(const char *format, ...) __attribute__((format(printf, 1, 2)));
void debug3(const char *format, ...) __attribute__((format(printf, 1, 2)));

#endif /* __LOG_H */