X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Flog.h;h=eec5e5398cd73316129e7d1f88d810b779e04836;hb=f44384c0c76c6621f049ade9e2de00be4bfeafd0;hp=005059c1c399725b94287a409567c1673c4a99e1;hpb=72077d49c8dcf079d52a266717a8bda9db9db0ab;p=matches%2FMCTX3420.git diff --git a/server/log.h b/server/log.h index 005059c..eec5e53 100644 --- a/server/log.h +++ b/server/log.h @@ -1,17 +1,11 @@ /** * @file log.h - * @purpose Declaration of functions for printing log messages and/or terminating program after a fatal error + * @brief Declaration of functions for printing log messages and/or terminating program after a fatal error */ #ifndef _LOG_H #define _LOG_H -#include -#include -#include -#include -#include "common.h" - //To get around a 'pedantic' C99 rule that you must have at least 1 variadic arg, combine fmt into that. #define Log(level, ...) LogEx(level, __func__, __VA_ARGS__) #define Fatal(...) FatalEx(__func__, __VA_ARGS__)