1 | import * as BB from 'botbuilder';
|
2 | export declare enum DebugType {
|
3 | Client = 1,
|
4 | ClientBody = 2,
|
5 | MessageQueue = 4,
|
6 | Memory = 8,
|
7 | MemVerbose = 16
|
8 | }
|
9 | export declare class CLDebug {
|
10 | private static adapter;
|
11 | private static conversationReference;
|
12 | private static cachedMessages;
|
13 | static logToUI: boolean;
|
14 | static verbose: boolean;
|
15 | static debugType: DebugType;
|
16 | static InitLogger(adapter: BB.BotAdapter, conversationReference: Partial<BB.ConversationReference>): void;
|
17 | private static HasDebugType;
|
18 | private static SendCache;
|
19 | static Log(text: string, filter?: DebugType): void;
|
20 | static LogRequest(method: string, path: string, payload: any): void;
|
21 | static Error(error: any, context?: string, sendAsChat?: boolean): string;
|
22 | static Verbose(text: string): void;
|
23 | static LogObject(obj: any): void;
|
24 | }
|