From fc65a743ebae5cd67b97ca36546c88efa6cc0501 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 29 Apr 2020 17:08:16 +0200 Subject: [PATCH] added some tests --- tester/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tester/main.cpp b/tester/main.cpp index 018e108..caf891c 100644 --- a/tester/main.cpp +++ b/tester/main.cpp @@ -60,8 +60,12 @@ int main(int argc, const char * argv[]) { } std::cout << "hello, tester\n"; sc::logger logger("tester", sc::loglevel::debug); - _info(logger, 42, " = ", 6, " x ", 7); _debug(logger, "efkes proberen"); + _info(logger, 42, " = ", 6, " x ", 7); + _warning(logger, "laatste waarschuwing"); + _error(logger, "foutje, bedankt"); + _critical(logger, "meltdown imminent"); + _info(logger, ""); } catch (const std::exception& ex) { std::cerr << "tester: " << ex.what() << '\n'; return EXIT_FAILURE;