]> mj.ucw.cz Git - libucw.git/blob - lib/log.h
Split page key to pos and fd. Wastes extra 4 bytes, but simplifies the code a lot.
[libucw.git] / lib / log.h
1 /*
2  *      Sherlock Library -- Logging
3  *
4  *      (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
5  */
6
7 #define L_DEBUG "<0>"
8 #define L_INFO "<2>"
9 #define L_WARN "<4>"
10 #define L_ERROR "<6>"
11 #define L_FATAL "<9>"
12
13 int log(byte *, ...);
14 void initlog(byte *);