added test line for old logging func
This commit is contained in:
parent
cfec8e9d3c
commit
e0634dd77e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user