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 64076771..8de3a97b 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 buildKVMessage(KeyValueLog... logs); + String buildMessageByObject(KeyValueLog... logs); // With name - String buildKVMessage(String name, KeyValueLog... logs); + String buildMessageByObject(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 d2b35dd2..aedf1f0f 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 buildKVMessage(KeyValueLog... logs) { + public String buildMessageByObject(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 buildKVMessage(String name, KeyValueLog... logs) { + public String buildMessageByObject(String name, KeyValueLog... logs) { StringBuilder builder = new StringBuilder(); builder.append(name); builder.append("\n");