Table of Contents

Class LogEvent

Namespace
OpenQA.Selenium.Internal.Logging
Assembly
WebDriver.dll

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 Type

The type that issued the log event.

timestamp DateTimeOffset

The timestamp of the log event.

level LogEventLevel

The level of the log event.

message string

The 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

Type

Level

Gets the level of the log event.

public LogEventLevel Level { get; }

Property Value

LogEventLevel

Message

Gets the message of the log event.

public string Message { get; }

Property Value

string

Timestamp

Gets the timestamp of the log event.

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset