aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-01 19:28:33 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-01 19:28:33 +0100
commit2326ed83da161a4bd0f15ad1897a04d8a640c34a (patch)
tree16a86b209268b1ff977b58f968b1b7f5a77652aa
parent730c6fe66ce122e2ce49a57df0cece4504e8471f (diff)
downloadlog-2326ed83da161a4bd0f15ad1897a04d8a640c34a.tar.gz
log-2326ed83da161a4bd0f15ad1897a04d8a640c34a.zip
Add a test-app to test the library
-rw-r--r--main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5119573..34c2fc5 100644
--- a/main.c
+++ b/main.c
@@ -1,7 +1,12 @@
/* See LICENSE file for copyright and license details. */
+#include "log.h"
+
int
main(int argc, char **argv)
{
+ Log *log = log_create(__FILE__);
+ log_debug(log, "test log ");
+
return 0;
-} \ No newline at end of file
+}