X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Flog.c;h=d964e6151f652df7e667b4300089670882598886;hb=e98b2d71aa507c8656b47752a529a3a2a619875a;hp=6f44bb0e05789c6c66a3164be040af75166f49dd;hpb=43c1519cb60f8fef09043b9af6f43d319db12e3d;p=matches%2FMCTX3420.git diff --git a/server/log.c b/server/log.c index 6f44bb0..d964e61 100644 --- a/server/log.c +++ b/server/log.c @@ -1,12 +1,14 @@ /** * @file log.c - * @purpose Implement logging and error handling functions + * @brief Implement logging and error handling functions */ #include +#include // --- Custom headers --- // +#include "common.h" #include "log.h" #include "options.h" @@ -15,6 +17,9 @@ static const char * unspecified_funct = "???"; // --- Function implementations --- // +//TODO: Migrate to syslog (shouldn't be too hard; these functions basically do what syslog does) +// Note that we will want to have a seperate log as well as syslog; give the user the option to view the log using the GUI + /** * Print a message to stderr * @param level - Specify how severe the message is.