LoggingEventArgs Class

Definition

Provides data for the Log event.

public class LoggingEventArgs : EventArgs
type LoggingEventArgs = class
    inherit EventArgs
Public Class LoggingEventArgs
Inherits EventArgs
Inheritance
LoggingEventArgs

Constructors

LoggingEventArgs(String)

Initializes a new instance of the LoggingEventArgs class.

LoggingEventArgs(String, ChannelMessageKind, String)

Initializes a new instane of LoggingEventArgs class that includes the kind and source of the message

Properties

Kind

Gets the type of message

Message

Gets the message being logged.

RawMessage

Gets the original message that doesn't include the source and kind

Source

Gets the source component of the event

Applies to