X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=server%2Flog.c;h=7b67043e73525d8cbd99e8a3e54e57b64810be6b;hb=b2d028d46108276726f4c8b2addb67809badf8a0;hp=6f44bb0e05789c6c66a3164be040af75166f49dd;hpb=43c1519cb60f8fef09043b9af6f43d319db12e3d;p=matches%2FMCTX3420.git diff --git a/server/log.c b/server/log.c index 6f44bb0..7b67043 100644 --- a/server/log.c +++ b/server/log.c @@ -5,8 +5,10 @@ #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.