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