From 48101190a2ec89f208a46ee03fe0b47e9ac09ae2 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 8 Jan 2024 12:41:10 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java | 4 ++-- .../java/one/nem/lacerta/utils/impl/LacertaLoggerImpl.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java b/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java index 8de3a97b..64076771 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java +++ b/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java @@ -11,7 +11,7 @@ public interface LacertaLogger { void trace(String tag, String message); void fatal(String tag, String message); - String buildMessageByObject(KeyValueLog... logs); + String buildKVMessage(KeyValueLog... logs); // With name - String buildMessageByObject(String name, KeyValueLog... logs); + String buildKVMessage(String name, KeyValueLog... logs); } diff --git a/utils/src/main/java/one/nem/lacerta/utils/impl/LacertaLoggerImpl.java b/utils/src/main/java/one/nem/lacerta/utils/impl/LacertaLoggerImpl.java index aedf1f0f..d2b35dd2 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/impl/LacertaLoggerImpl.java +++ b/utils/src/main/java/one/nem/lacerta/utils/impl/LacertaLoggerImpl.java @@ -44,7 +44,7 @@ public class LacertaLoggerImpl implements LacertaLogger{ } @Override - public String buildMessageByObject(KeyValueLog... logs) { + public String buildKVMessage(KeyValueLog... logs) { StringBuilder builder = new StringBuilder(); for (KeyValueLog log : logs) { builder.append(log.getKey()); @@ -56,7 +56,7 @@ public class LacertaLoggerImpl implements LacertaLogger{ } @Override - public String buildMessageByObject(String name, KeyValueLog... logs) { + public String buildKVMessage(String name, KeyValueLog... logs) { StringBuilder builder = new StringBuilder(); builder.append(name); builder.append("\n");