From 06982e45f3ee1f87f452d7f209d4c4c959b508df Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 3 Feb 2023 22:02:32 +0100 Subject: Move main.c in test directory --- test/main.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/main.c (limited to 'test') diff --git a/test/main.c b/test/main.c new file mode 100644 index 0000000..d8be980 --- /dev/null +++ b/test/main.c @@ -0,0 +1,15 @@ +/* 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, "debug log"); + log_info(log, "info log"); + log_warn(log, "warning log"); + log_error(log, "error log"); + + return 0; +} -- cgit v1.2.3