1. Stylelabs.M.Sdk.Contracts.Logging

Class LogEventArgs

Event argument when an 'on log' event is fired.

Inheritance

object

LogEventArgs

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsLogging

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class LogEventArgs : EventArgs

Properties

Exception

Gets or sets an optional exception instance that was passed to the logger through the LogError methods.

Declaration

public Exception Exception { get; set; }

Property Value

TypeDescription
Exception

Gets or sets the log level of the message.

Declaration

public LogLevel LogLevel { get; set; }

Property Value

TypeDescription
LogLevel

Message

Gets or sets the message.

Declaration

public string Message { get; set; }

Property Value

TypeDescription
string
If you have suggestions for improving this article, let us know!