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";
|
std::cout << "hello, tester\n";
|
||||||
sc::logger logger("tester", sc::loglevel::debug);
|
sc::logger logger("tester", sc::loglevel::debug);
|
||||||
SCDebug(logger, "efkes proberen");
|
SCDebug(logger, "efkes proberen");
|
||||||
SCInfo(logger, 42, " = ", 6, " x ", 7);
|
SCInfo(logger, 42, " = ", 6, " x ", 7);
|
||||||
SCWarning(logger, "laatste waarschuwing");
|
SCWarning(logger, "laatste waarschuwing");
|
||||||
SCError(logger, "foutje, bedankt");
|
SCError(logger, "foutje, bedankt");
|
||||||
SCCritical(logger, "meltdown imminent");
|
SCCritical(logger, "meltdown imminent");
|
||||||
SCInfo(logger, "");
|
SCInfo(logger, "");
|
||||||
|
sclog("%s", "oud spul werkt ook");
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
std::cerr << "tester: " << ex.what() << '\n';
|
std::cerr << "tester: " << ex.what() << '\n';
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user