git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #36 from justinjessada/master
[matches/MCTX3420.git]
/
server
/
log.c
diff --git
a/server/log.c
b/server/log.c
index
6f44bb0
..
d964e61
100644
(file)
--- a/
server/log.c
+++ b/
server/log.c
@@
-1,12
+1,14
@@
/**
* @file log.c
/**
* @file log.c
- * @
purpose
Implement logging and error handling functions
+ * @
brief
Implement logging and error handling functions
*/
#include <unistd.h>
*/
#include <unistd.h>
+#include <stdarg.h>
// --- Custom headers --- //
// --- Custom headers --- //
+#include "common.h"
#include "log.h"
#include "options.h"
#include "log.h"
#include "options.h"
@@
-15,6
+17,9
@@
static const char * unspecified_funct = "???";
// --- Function implementations --- //
// --- 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.
/**
* Print a message to stderr
* @param level - Specify how severe the message is.
UCC
git Repository :: git.ucc.asn.au