Skip to content

Commit

Permalink
Removed addition of extra console logger if logToStdOut is false
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminbojko authored Dec 7, 2021
1 parent c9ab406 commit 0d592be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bluecadet/core/BaseApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ namespace bluecadet {

if (SettingsManager::get()->mLogToStdOut) {
mLogger = make_shared<StdOutLogger>();
} else {
mLogger = make_shared<ci::log::LoggerConsole>();
}

ci::log::LogManager::instance()->addLogger(mLogger);
Expand Down Expand Up @@ -354,4 +352,4 @@ namespace bluecadet {
#endif

} // namespace core
} // namespace bluecadet
} // namespace bluecadet

0 comments on commit 0d592be

Please sign in to comment.