Table of Contents

Class EntryAddedEventArgs

Namespace
WebDriverBiDi.Log
Assembly
WebDriverBiDi.dll

Object containing event data for the event raised when a log entry is added.

public record EntryAddedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<EntryAddedEventArgs>
Inheritance
EntryAddedEventArgs
Implements
Inherited Members

Constructors

EntryAddedEventArgs(EntryAddedEventArgs)

protected EntryAddedEventArgs(EntryAddedEventArgs original)

Parameters

original EntryAddedEventArgs

EntryAddedEventArgs(LogEntry)

Initializes a new instance of the EntryAddedEventArgs class.

public EntryAddedEventArgs(LogEntry entry)

Parameters

entry LogEntry

The data describing the log entry.

Properties

Arguments

Gets the read-only list of arguments for the log entry.

public IList<RemoteValue>? Arguments { get; }

Property Value

IList<RemoteValue>

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Level

Gets the log level of the log entry.

public LogLevel Level { get; }

Property Value

LogLevel

Method

Gets the method name of the log entry.

public string? Method { get; }

Property Value

string

Source

Gets the source of the log entry.

public Source Source { get; }

Property Value

Source

StackTrace

Gets the stack trace of the log entry.

public StackTrace? StackTrace { get; }

Property Value

StackTrace

Text

Gets the text of the log entry.

public string? Text { get; }

Property Value

string

Timestamp

Gets the timestamp of the log entry.

public DateTime Timestamp { get; }

Property Value

DateTime

Type

Gets the type of log entry.

public string Type { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(EntryAddedEventArgs?)

public virtual bool Equals(EntryAddedEventArgs? other)

Parameters

other EntryAddedEventArgs

Returns

bool

Equals(WebDriverBiDiEventArgs?)

public override sealed bool Equals(WebDriverBiDiEventArgs? other)

Parameters

other WebDriverBiDiEventArgs

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(EntryAddedEventArgs?, EntryAddedEventArgs?)

public static bool operator ==(EntryAddedEventArgs? left, EntryAddedEventArgs? right)

Parameters

left EntryAddedEventArgs
right EntryAddedEventArgs

Returns

bool

operator !=(EntryAddedEventArgs?, EntryAddedEventArgs?)

public static bool operator !=(EntryAddedEventArgs? left, EntryAddedEventArgs? right)

Parameters

left EntryAddedEventArgs
right EntryAddedEventArgs

Returns

bool