about summary refs log tree commit diff stats
path: root/log.h
blob: df1052963d6834628d2c8d790375c81f3d16a94c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LOG_H
#define LOG_H

#include <stdio.h>

#include <strophe/strophe.h>

// log areas
#define PROF "prof"
#define CONN "conn"

// file log
FILE *logp; 

void log_init(void);
void log_msg(const char * const area, const char * const msg);
void log_close(void);

#endif