()
| 71 | } |
| 72 | |
| 73 | @Override |
| 74 | public String toString() { |
| 75 | return String.format( |
| 76 | "[%s] [%s] %s", |
| 77 | DateTimeFormatter.ISO_INSTANT.format(Instant.ofEpochMilli(timestamp)), level, message); |
| 78 | } |
| 79 | |
| 80 | public Map<String, Object> toJson() { |
| 81 | Map<String, Object> map = new HashMap<>(); |