IAP GITLAB
Changes
Page history
Remove references to spdlog namespace.
authored
Nov 17, 2020
by
Remy Prechelt
Show whitespace changes
Inline
Side-by-side
Logging-Guidelines.md
View page @
069a993a
...
...
@@ -43,8 +43,8 @@ Unlike the examples above that are free functions, you should use methods of
this instance to log messages. For example,
logger->error("This is an error message using my custom process logger!");
logger->info("Binary example: {}",
spdlo
g::to_hex(buf));
logger->warn("Another binary example:{:n}",
spdlo
g::to_hex(std::begin(buf), std::begin(buf) + 10));
logger->info("Binary example: {}",
loggin
g::to_hex(buf));
logger->warn("Another binary example:{:n}",
loggin
g::to_hex(std::begin(buf), std::begin(buf) + 10));
CORSIKA_LOGGER_DEBUG(logger, "A compile-time removable log message!"); // note: CORSIKA_LOGG*ER* not CORSIKA_LOG
...
...
...
...