Remove duplicate

This commit is contained in:
JeremyStar™ 2024-08-17 11:55:25 +02:00
parent 1713c9c8a8
commit 78b12dee67
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -43,13 +43,11 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
/** /**
* Provides the engine's logging infrastructure, * Provides the engine's logging infrastructure, except for
* except for crash handling, which the * crash handling, which is handled by {@link CrashHandler}.
* {@link CrashHandler} does.
* *
* @see CrashHandler
* @see LoggerInstance * @see LoggerInstance
* @see LogLevel * @see CrashHandler
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" }) @SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class Logger { public final class Logger {
@ -205,10 +203,9 @@ public final class Logger {
List<@NotNull Placeholder> temporaryPlaceholders = new ArrayList<>(); 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 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 LogClass(issuerClass));
temporaryPlaceholders.add(new LogColorPrimary(level)); temporaryPlaceholders.add(new LogColorPrimary(level));
temporaryPlaceholders.add(new LogColorSecondary(level));
temporaryPlaceholders.add(new LogMetadata(issuerMetadata)); temporaryPlaceholders.add(new LogMetadata(issuerMetadata));
temporaryPlaceholders.add(new LogOrigin(issuerOrigin)); temporaryPlaceholders.add(new LogOrigin(issuerOrigin));
temporaryPlaceholders.add(new de.staropensource.sosengine.base.internal.placeholders.logger.LogLevel(level)); temporaryPlaceholders.add(new de.staropensource.sosengine.base.internal.placeholders.logger.LogLevel(level));