added logger name to output

This commit is contained in:
Bob Polis
2020-04-29 16:54:58 +02:00
parent 66cfaa36bc
commit ebae246a6b
3 changed files with 9 additions and 4 deletions

View File

@ -59,7 +59,7 @@ int main(int argc, const char * argv[]) {
}
}
std::cout << "hello, tester\n";
sc::logger logger(sc::loglevel::debug);
sc::logger logger("tester", sc::loglevel::debug);
_info(logger, 42, " = ", 6, " x ", 7);
_debug(logger, "efkes proberen");
} catch (const std::exception& ex) {