From 9b57f9be5ef2b0f602cbfaf85d3373d160809742 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 18 Feb 2025 15:19:57 +0100 Subject: [PATCH] Remove createDefaultLogger() --- src/libmain/loggers.cc | 5 ----- src/libmain/loggers.hh | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/libmain/loggers.cc b/src/libmain/loggers.cc index 836ea3dc8..07d83a960 100644 --- a/src/libmain/loggers.cc +++ b/src/libmain/loggers.cc @@ -50,11 +50,6 @@ void setLogFormat(const std::string & logFormatStr) void setLogFormat(const LogFormat & logFormat) { defaultLogFormat = logFormat; - createDefaultLogger(); -} - -void createDefaultLogger() -{ logger = makeDefaultLogger(); } diff --git a/src/libmain/loggers.hh b/src/libmain/loggers.hh index e5721420c..98b287fa7 100644 --- a/src/libmain/loggers.hh +++ b/src/libmain/loggers.hh @@ -16,6 +16,4 @@ enum class LogFormat { void setLogFormat(const std::string & logFormatStr); void setLogFormat(const LogFormat & logFormat); -void createDefaultLogger(); - }