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
issuedBy
TypeThe type that issued the log event.
timestamp
DateTimeOffsetThe timestamp of the log event.
level
LogEventLevelThe level of the log event.
message
stringThe message of the log event.
Exceptions
- ArgumentNullException
If
issuedBy
is 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; }