repo.or.cz
/
idlebox.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
w
[idlebox.git]
/
log.h
blob
0fcbe30c39e07728f549ae1dd730df71d174a9bf
1
#ifndef _LOG_H
2
#define _LOG_H
3
4
void
log_init
(
void
);
5
void
log_write
(
int
level
,
const char
*
fmt
, ...);
6
7
#define ERROR(x...) log_write(3,
"<3>init: "
x)
8
#define NOTICE(x...) log_write(5,
"<5>init: "
x)
9
#define INFO(x...) log_write(6,
"<6>init: "
x)
10
11
#endif