TraceActivityLogger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activity logger that traces to the console.
public sealed class TraceActivityLogger : Microsoft.Bot.Builder.History.IActivityLogger
type TraceActivityLogger = class
interface IActivityLogger
Public NotInheritable Class TraceActivityLogger
Implements IActivityLogger
- Inheritance
-
TraceActivityLogger
- Implements
Remarks
To use this, you need to register the class like this:
var builder = new ContainerBuilder();
builder.RegisterModule(Dialog_Manager.MakeRoot());
builder.RegisterType<TraceActivityLogger>()
.AsImplementedInterfaces()
.InstancePerLifetimeScope();
Constructors
TraceActivityLogger() |
Explicit Interface Implementations
IActivityLogger.LogAsync(IActivity) |
Log activity to trace stream. |