Interface IEnterpriseLogger
The logger interface for the SDK. Extend this to implement custom logging.
Namespace: Microsoft.Bot.Builder.Enterprise.Logging
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public interface IEnterpriseLogger
Properties
View SourceCurrentTraceLevel
Gets or sets the current trace level.
Declaration
TraceLevel CurrentTraceLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Diagnostics.TraceLevel |
Methods
View SourceTrace(TraceLevel, Exception, String)
Logger with a provided trace level.
Declaration
void Trace(TraceLevel traceLevel, Exception exception, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Diagnostics.TraceLevel | traceLevel | The trace level. |
System.Exception | exception | The exception. |
System.String | message | The message. |
Trace(TraceLevel, String)
Logger with a provided trace level.
Declaration
void Trace(TraceLevel traceLevel, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Diagnostics.TraceLevel | traceLevel | The trace level. |
System.String | message | The message. |