Outlook_Addin_LLM/node_modules/applicationinsights/out/Bootstrap/DataModel.d.ts

39 lines
958 B
TypeScript

export interface AgentLogger {
log(message?: any, ...optional: any[]): void;
error(message?: any, ...optional: any[]): void;
}
export declare const enum SeverityLevel {
ERROR = "ERROR",
WARN = "WARN",
INFO = "INFO",
}
export interface DiagnosticLog {
/**
* UTC
*/
time: string;
/**
* Log severity, INFO, WARN, ERROR
*/
level: SeverityLevel;
/**
* The logger writing this message. Usually the fully-qualified class or package name
*/
logger: string;
/**
* The log message
*/
message: string;
/**
* Exception (as string)
*/
exception?: string;
/**
* Any custom data related to the error/application/operation. Each field should have a string value
* Examples: operation, siteName, ikey, extensionVersion, sdkVersion, subscriptionId
*/
properties: {
[key: string]: string;
};
}