Show / Hide Table of Contents

Class LogEventArgs

The arguments for a log event.

Inheritance
object
LogEventArgs
BotDataEventArgs
BotEventArgs
OvermindEventArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public class LogEventArgs

Constructors

View Source

LogEventArgs()

Initializes a new instance of the LogEventArgs class.

Declaration
public LogEventArgs()
View Source

LogEventArgs(string?, string?, string?)

Initializes a new instance of the LogEventArgs class.

Declaration
public LogEventArgs(string? source = null, string? messageType = null, string? message = null)
Parameters
Type Name Description
string source

The source of the event.

string messageType

The message type.

string message

The message.

Properties

View Source

Message

Gets or sets the message.

Declaration
public string? Message { get; set; }
Property Value
Type Description
string
View Source

MessageType

Gets or sets the message type.

Declaration
public string? MessageType { get; set; }
Property Value
Type Description
string
View Source

Source

Gets or sets the source of the event.

Declaration
public string? Source { get; set; }
Property Value
Type Description
string

Methods

View Source

ToString()

Returns the string representation of the event.

Declaration
public override string ToString()
Returns
Type Description
string

The string representation of the event.

Overrides
object.ToString()
  • View Source
In this article
Back to top Generated by DocFX