added test line for old logging func

This commit is contained in:
Bob Polis 2020-04-29 17:52:34 +02:00
parent cfec8e9d3c
commit e0634dd77e

View File

@ -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;