diff --git a/tester/main.cpp b/tester/main.cpp index 1fd2bf3..58ccbfb 100644 --- a/tester/main.cpp +++ b/tester/main.cpp @@ -59,13 +59,14 @@ int main(int argc, const char * argv[]) { } } std::cout << "hello, tester\n"; - sc::logger logger("tester", sc::loglevel::debug); - SCDebug(logger, "efkes proberen"); - SCInfo(logger, 42, " = ", 6, " x ", 7); + sc::logger logger("tester", sc::loglevel::debug); + SCDebug(logger, "efkes proberen"); + SCInfo(logger, 42, " = ", 6, " x ", 7); SCWarning(logger, "laatste waarschuwing"); SCError(logger, "foutje, bedankt"); SCCritical(logger, "meltdown imminent"); SCInfo(logger, ""); + sclog("%s", "oud spul werkt ook"); } catch (const std::exception& ex) { std::cerr << "tester: " << ex.what() << '\n'; return EXIT_FAILURE;