summaryrefslogtreecommitdiff
path: root/src/ipcp/main.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-02-12 13:27:40 +0100
committerSander Vrijders <[email protected]>2016-02-12 13:27:40 +0100
commita59d0c7b448597865c679c9d19ee13de742cea02 (patch)
treeef683a73a509eed0aaf2dac9ce197cb2082ea29f /src/ipcp/main.c
parent4944a01444f146fdfb1a45ed346b5bc4744c0a45 (diff)
downloadouroboros-a59d0c7b448597865c679c9d19ee13de742cea02.tar.gz
ouroboros-a59d0c7b448597865c679c9d19ee13de742cea02.zip
include: Add logging infrastructure
Adds the logging infrastructure to the prototype. 2 helper scripts are also provided to compile the prototype in either release or debug mode. In debug mode debugging logs are printed.
Diffstat (limited to 'src/ipcp/main.c')
-rw-r--r--src/ipcp/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ipcp/main.c b/src/ipcp/main.c
index 19397260..b67b0af9 100644
--- a/src/ipcp/main.c
+++ b/src/ipcp/main.c
@@ -1,8 +1,10 @@
-#include <stdio.h>
+#define OUROBOROS_PREFIX "ipcp"
+
+#include <ouroboros/logs.h>
int main()
{
- printf("Test of the IPCP\n");
+ LOG_DBG("Test of the IPCP");
return 0;
}