adapted to new logging macros

This commit is contained in:
Bob Polis 2020-04-29 16:40:27 +02:00
parent 0cc1d98579
commit 1da1ec7c76
2 changed files with 2 additions and 1 deletions

View File

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

Binary file not shown.