1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-07-22 17:24:06 +00:00

Documentation, lacking

This commit is contained in:
Peter Evans
2017-12-06 21:25:47 -06:00
parent ccd7a3f665
commit 8cd9c5ffab
4 changed files with 86 additions and 4 deletions

View File

@@ -9,6 +9,10 @@ extern void log_write(int, const char *, ...);
extern void log_close();
extern void log_open(FILE *);
/*
* Here we have a couple of convenience macros that abstracts the log
* level number.
*/
#define log_critical(...) log_write(0, __VA_ARGS__)
#define log_error(...) log_write(0, __VA_ARGS__)