Mercurial > hg > fxanalyse
comparison logging.c @ 239:ec81395bf08d
Solve name collisions and other problems caused by including Windows headers
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Thu, 12 Feb 2015 19:13:55 +0100 |
parents | 28a56e4c06a4 |
children | eaac96094640 |
comparison
equal
deleted
inserted
replaced
238:78fdba868884 | 239:ec81395bf08d |
---|---|
49 | 49 |
50 | 50 |
51 void __logmessage(struct logger *l, enum loglevel level, const char *frmt, ...) | 51 void __logmessage(struct logger *l, enum loglevel level, const char *frmt, ...) |
52 { | 52 { |
53 static const char *levels[] = { | 53 static const char *levels[] = { |
54 "ERROR", | |
54 "DEBUG", | 55 "DEBUG", |
55 "INFO", | 56 "INFO", |
56 "WARNING", | 57 "WARNING", |
57 "ERROR", | |
58 }; | 58 }; |
59 | 59 |
60 char msg[1024]; | 60 char msg[1024]; |
61 int len = 0; | 61 int len = 0; |
62 | 62 |