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
originalEntryAddedEventArgs
EntryAddedEventArgs(LogEntry)
Initializes a new instance of the EntryAddedEventArgs class.
public EntryAddedEventArgs(LogEntry entry)
Parameters
entryLogEntryThe 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
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Level
Gets the log level of the log entry.
public LogLevel Level { get; }
Property Value
Method
Gets the method name of the log entry.
public string? Method { get; }
Property Value
Source
Gets the source of the log entry.
public Source Source { get; }
Property Value
StackTrace
Gets the stack trace of the log entry.
public StackTrace? StackTrace { get; }
Property Value
Text
Gets the text of the log entry.
public string? Text { get; }
Property Value
Timestamp
Gets the timestamp of the log entry.
public DateTime Timestamp { get; }
Property Value
Type
Gets the type of log entry.
public string Type { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(EntryAddedEventArgs?)
public virtual bool Equals(EntryAddedEventArgs? other)
Parameters
otherEntryAddedEventArgs
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EntryAddedEventArgs?, EntryAddedEventArgs?)
public static bool operator ==(EntryAddedEventArgs? left, EntryAddedEventArgs? right)
Parameters
leftEntryAddedEventArgsrightEntryAddedEventArgs
Returns
operator !=(EntryAddedEventArgs?, EntryAddedEventArgs?)
public static bool operator !=(EntryAddedEventArgs? left, EntryAddedEventArgs? right)
Parameters
leftEntryAddedEventArgsrightEntryAddedEventArgs