Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import * as types from "../applicationinsights";
import { StatusLogger } from "./StatusLogger";
import { DiagnosticLogger } from "./DiagnosticLogger";
/**
* Sets the attach-time logger
* @param logger logger which implements the `AgentLogger` interface
*/
export declare function setLogger(logger: DiagnosticLogger): DiagnosticLogger;
/**
* Sets the string which is prefixed to the existing sdkVersion, e.g. `ad_`, `alr_`
* @param prefix string prefix, including underscore. Defaults to `ad_`
*/
export declare function setUsagePrefix(prefix: string): void;
export declare function setStatusLogger(statusLogger: StatusLogger): void;
/**
* Try to setup and start this app insights instance if attach is enabled.
* @param setupString connection string or instrumentation key
*/
export declare function setupAndStart(setupString?: any): typeof types | null;