Show / Hide Table of Contents

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 Source

CurrentTraceLevel

Gets or sets the current trace level.

Declaration
TraceLevel CurrentTraceLevel { get; set; }
Property Value
Type Description
System.Diagnostics.TraceLevel

Methods

View Source

Trace(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.

View Source

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.

  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX