Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ toJson
Method
toJson
java/src/org/openqa/selenium/logging/LogEntry.java:80–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
public
Map<String, Object> toJson() {
81
Map<String, Object> map =
new
HashMap<>();
82
map.put(
"timestamp"
, timestamp);
83
map.put(
"level"
, level);
84
map.put(
"message"
, message);
85
return
map;
86
}
87
}
Callers
1
canRepresentLogEntryAsJson
Method · 0.95
Calls
1
put
Method · 0.65
Tested by
1
canRepresentLogEntryAsJson
Method · 0.76