swebb2066 commented on code in PR #511: URL: https://github.com/apache/logging-log4cxx/pull/511#discussion_r2209107114
########## src/examples/cpp/MyApp1.cpp: ########## @@ -1,11 +1,11 @@ -#include <log4cxx/logger.h> +#include <log4cxx/logmanager.h> #include <log4cxx/basicconfigurator.h> -static auto logger = log4cxx::Logger::getLogger("MyApp"); Review Comment: To use `LogManager::shutdown` I need to include `logmanager.h`, so I thought it would be clearer to then use `LogManager::getLogger` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org