TableLogger TableLogger TableLogger Class

Definition

Log conversation activities to Azure Table Storage.

public class TableLogger : Microsoft.Bot.Builder.History.IActivityLogger, Microsoft.Bot.Builder.History.IActivityManager, Microsoft.Bot.Builder.History.IActivitySource
type TableLogger = class
    interface IActivityLogger
    interface IActivitySource
    interface IActivityManager
Public Class TableLogger
Implements IActivityLogger, IActivityManager, IActivitySource
Inheritance
TableLoggerTableLoggerTableLogger
Implements

Remarks

Activities are limited to ~1mb when converted to JSON and compressed. If an activity is bigger than that,

it will be dropped. If your activities are larger, you either need to preprocess them first or use another implementation.

Constructors

TableLogger(CloudTable) TableLogger(CloudTable) TableLogger(CloudTable)

Create a table storage logger.

Explicit Interface Implementations

IActivityLogger.LogAsync(IActivity) IActivityLogger.LogAsync(IActivity) IActivityLogger.LogAsync(IActivity)

Log activity to table storage.

IActivityManager.DeleteBeforeAsync(DateTime, CancellationToken) IActivityManager.DeleteBeforeAsync(DateTime, CancellationToken) IActivityManager.DeleteBeforeAsync(DateTime, CancellationToken)

Delete any conversation records older than oldest.

IActivityManager.DeleteConversationAsync(String, String, CancellationToken) IActivityManager.DeleteConversationAsync(String, String, CancellationToken) IActivityManager.DeleteConversationAsync(String, String, CancellationToken)

Delete a specific conversation.

IActivityManager.DeleteUserActivitiesAsync(String, CancellationToken) IActivityManager.DeleteUserActivitiesAsync(String, CancellationToken) IActivityManager.DeleteUserActivitiesAsync(String, CancellationToken)
IActivitySource.Activities(String, String, DateTime) IActivitySource.Activities(String, String, DateTime) IActivitySource.Activities(String, String, DateTime)
IActivitySource.WalkActivitiesAsync(Func<IActivity,Task>, String, String, DateTime, CancellationToken) IActivitySource.WalkActivitiesAsync(Func<IActivity,Task>, String, String, DateTime, CancellationToken) IActivitySource.WalkActivitiesAsync(Func<IActivity,Task>, String, String, DateTime, CancellationToken)

Applies to