MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toString

Method toString

java/src/org/openqa/selenium/logging/LogEntry.java:73–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

formatMethod · 0.45

Tested by 1