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..15bbf2c9 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java +++ b/utils/src/main/java/one/nem/lacerta/utils/LacertaLogger.java @@ -11,6 +11,8 @@ public interface LacertaLogger { void trace(String tag, String message); void fatal(String tag, String message); + void e_code(String errorId); + String buildKVMessage(KeyValueLog... logs); // With name 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 d2b35dd2..48b81cd8 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 @@ -43,6 +43,11 @@ public class LacertaLoggerImpl implements LacertaLogger{ Log.wtf(tag, message); } + @Override + public void e_code(String errorId) { + Log.e("ErrorReport", "An error occurred. Searchable error ID: " + errorId); + } + @Override public String buildKVMessage(KeyValueLog... logs) { StringBuilder builder = new StringBuilder();