Class LogEvent
Represents a log event in the Selenium WebDriver internal logging system.
public sealed class LogEvent
- Inheritance
-
LogEvent
- Inherited Members
Constructors
LogEvent(Type, DateTimeOffset, LogEventLevel, string)
Initializes a new instance of the LogEvent class.
public LogEvent(Type issuedBy, DateTimeOffset timestamp, LogEventLevel level, string message)
Parameters
issuedByTypeThe type that issued the log event.
timestampDateTimeOffsetThe timestamp of the log event.
levelLogEventLevelThe level of the log event.
messagestringThe message of the log event.
Exceptions
- ArgumentNullException
If
issuedByis null.
Properties
IssuedBy
Gets the type that issued the log event.
public Type IssuedBy { get; }
Property Value
Level
Gets the level of the log event.
public LogEventLevel Level { get; }
Property Value
Message
Gets the message of the log event.
public string Message { get; }
Property Value
Timestamp
Gets the timestamp of the log event.
public DateTimeOffset Timestamp { get; }