Class LogEntry
- java.lang.Object
-
- org.openqa.selenium.devtools.log.model.LogEntry
-
public class LogEntry extends java.lang.Object
Log entry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogEntry.Level
static class
LogEntry.Source
-
Constructor Summary
Constructors Constructor Description LogEntry(LogEntry.Source source, LogEntry.Level level, java.lang.String text, Timestamp timestamp, java.lang.String url, java.lang.Integer lineNumber, StackTrace stackTrace, RequestId networkRequestId, java.lang.String workerId, java.util.List<RemoteObject> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<RemoteObject>
getArgs()
Call arguments.LogEntry.Level
getLevel()
Log entry severity.java.lang.Integer
getLineNumber()
Line number in the resource.RequestId
getNetworkRequestId()
Identifier of the network request associated with this entry.LogEntry.Source
getSource()
Log entry source.StackTrace
getStackTrace()
JavaScript stack trace.java.lang.String
getText()
Logged text.Timestamp
getTimestamp()
Timestamp when this entry was added.java.lang.String
getUrl()
URL of the resource if known.java.lang.String
getWorkerId()
Identifier of the worker associated with this entry.
-
-
-
Constructor Detail
-
LogEntry
public LogEntry(LogEntry.Source source, LogEntry.Level level, java.lang.String text, Timestamp timestamp, java.lang.String url, java.lang.Integer lineNumber, StackTrace stackTrace, RequestId networkRequestId, java.lang.String workerId, java.util.List<RemoteObject> args)
-
-
Method Detail
-
getSource
public LogEntry.Source getSource()
Log entry source.
-
getLevel
public LogEntry.Level getLevel()
Log entry severity.
-
getText
public java.lang.String getText()
Logged text.
-
getTimestamp
public Timestamp getTimestamp()
Timestamp when this entry was added.
-
getUrl
public java.lang.String getUrl()
URL of the resource if known.
-
getLineNumber
public java.lang.Integer getLineNumber()
Line number in the resource.
-
getStackTrace
public StackTrace getStackTrace()
JavaScript stack trace.
-
getNetworkRequestId
public RequestId getNetworkRequestId()
Identifier of the network request associated with this entry.
-
getWorkerId
public java.lang.String getWorkerId()
Identifier of the worker associated with this entry.
-
getArgs
public java.util.List<RemoteObject> getArgs()
Call arguments.
-
-