added logger name to output

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

No files matched your search

+1 -1
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) {