Class TraceLogProvider
Log provider that uses System.Diagnostics.Trace.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class TraceLogProvider : LogProvider
Constructors
TraceLogProvider()
Initializes a new instance of the TraceLogProvider.
Declaration
public TraceLogProvider()
TraceLogProvider(LogLevel)
Initializes a new instance of the TraceLogProvider class.
Declaration
public TraceLogProvider(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The log level. |
Methods
DoLog(LogEvent)
Logs a message at the specified log level.
Declaration
protected override void DoLog(LogEvent logEvent)
Parameters
Type | Name | Description |
---|---|---|
LogEvent | logEvent | The log event details. |