Compare commits

...
Author SHA1 Message Date
r-ca 20f6333dcc エラーIDをログに流すメソッドを実装 2024-01-16 12:03:33 +09:00
ろむねこ 5837a1a2d3 Merge pull request #63 from lacerta-doc/feature/add_vcs
VCS追加(WIP)
2024-01-14 15:39:10 +09:00
2 changed files with 7 additions and 0 deletions

No files matched your search

@@ -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);
@@ -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();