From 78b12dee67950eaa50469b67058096cb9d2f4fa3 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 17 Aug 2024 11:55:25 +0200 Subject: [PATCH] Remove duplicate --- .../staropensource/sosengine/base/logging/Logger.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java b/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java index baf915a..2101a41 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java @@ -43,13 +43,11 @@ import java.util.LinkedList; import java.util.List; /** - * Provides the engine's logging infrastructure, - * except for crash handling, which the - * {@link CrashHandler} does. + * Provides the engine's logging infrastructure, except for + * crash handling, which is handled by {@link CrashHandler}. * - * @see CrashHandler * @see LoggerInstance - * @see LogLevel + * @see CrashHandler */ @SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class Logger { @@ -205,10 +203,9 @@ public final class Logger { List<@NotNull Placeholder> temporaryPlaceholders = new ArrayList<>(); temporaryPlaceholders.add(new LogMessage(message)); // log_message is out of order to allow for placeholder usage - temporaryPlaceholders.add(new LogColorPrimary(level)); - temporaryPlaceholders.add(new LogColorSecondary(level)); temporaryPlaceholders.add(new LogClass(issuerClass)); temporaryPlaceholders.add(new LogColorPrimary(level)); + temporaryPlaceholders.add(new LogColorSecondary(level)); temporaryPlaceholders.add(new LogMetadata(issuerMetadata)); temporaryPlaceholders.add(new LogOrigin(issuerOrigin)); temporaryPlaceholders.add(new de.staropensource.sosengine.base.internal.placeholders.logger.LogLevel(level));