Updated control stuff
[matches/MCTX3420.git] / server / log.c
index 6f44bb0..d964e61 100644 (file)
@@ -1,12 +1,14 @@
 /**
  * @file log.c
- * @purpose Implement logging and error handling functions
+ * @brief Implement logging and error handling functions
  */
 
 
 #include <unistd.h>
+#include <stdarg.h>
 
 // --- 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.

UCC git Repository :: git.ucc.asn.au