summaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp
index 234ab2d..ac1a85d 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -4,6 +4,7 @@
#include <xmpp/xmpp_parser.hpp>
#include <utils/encoding.hpp>
+#include <logger/logger.hpp>
#include <config/config.hpp>
#include <bridge/colors.hpp>
#include <utils/tolower.hpp>
@@ -170,5 +171,13 @@ int main()
}
assert(error == false);
+ Config::set("log_level", "3");
+ Config::set("log_file", "");
+
+ log_debug("coucou");
+ log_info("coucou");
+ log_warning("coucou");
+ log_error("coucou");
+
return 0;
}