summaryrefslogtreecommitdiff
path: root/src/log.h
blob: bffee3a22ce221e051a6c139458ce9287c572550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LOG_H_
#define _LOG_H_

#include "server.h"

#define WP() log_error_write(srv, __FILE__, __LINE__, "");

int log_error_open(server *srv);
int log_error_close(server *srv);
int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...);
int log_error_cycle(server *srv);
	
#endif