Class LogEntry
- java.lang.Object
-
- org.openqa.selenium.devtools.log.model.LogEntry
-
public class LogEntry extends java.lang.ObjectLog entry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogEntry.Levelstatic classLogEntry.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.LevelgetLevel()Log entry severity.java.lang.IntegergetLineNumber()Line number in the resource.RequestIdgetNetworkRequestId()Identifier of the network request associated with this entry.LogEntry.SourcegetSource()Log entry source.StackTracegetStackTrace()JavaScript stack trace.java.lang.StringgetText()Logged text.TimestampgetTimestamp()Timestamp when this entry was added.java.lang.StringgetUrl()URL of the resource if known.java.lang.StringgetWorkerId()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.
-
-