adapted to new logging macros
This commit is contained in:
parent
0cc1d98579
commit
1da1ec7c76
@ -60,7 +60,8 @@ int main(int argc, const char * argv[]) {
|
|||||||
}
|
}
|
||||||
std::cout << "hello, tester\n";
|
std::cout << "hello, tester\n";
|
||||||
sc::logger logger(sc::loglevel::debug);
|
sc::logger logger(sc::loglevel::debug);
|
||||||
logger.msg(sc::loglevel::info, 42, " = ", 6, " x ", 7);
|
_info(logger, 42, " = ", 6, " x ", 7);
|
||||||
|
_debug(logger, "efkes proberen");
|
||||||
} 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;
|
||||||
|
BIN
tester/tester
BIN
tester/tester
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user