Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
30 lines
906 B
Plaintext
30 lines
906 B
Plaintext
import { ComponentLoggerOptions, DiagLogFunction, DiagLogger, DiagLoggerApi } from '../diag/types';
|
|
/**
|
|
* Singleton object which represents the entry point to the OpenTelemetry internal
|
|
* diagnostic API
|
|
*/
|
|
export declare class DiagAPI implements DiagLogger, DiagLoggerApi {
|
|
private static _instance?;
|
|
/** Get the singleton instance of the DiagAPI API */
|
|
static instance(): DiagAPI;
|
|
/**
|
|
* Private internal constructor
|
|
* @private
|
|
*/
|
|
private constructor();
|
|
setLogger: DiagLoggerApi['setLogger'];
|
|
/**
|
|
*
|
|
*/
|
|
createComponentLogger: (options: ComponentLoggerOptions) => DiagLogger;
|
|
verbose: DiagLogFunction;
|
|
debug: DiagLogFunction;
|
|
info: DiagLogFunction;
|
|
warn: DiagLogFunction;
|
|
error: DiagLogFunction;
|
|
/**
|
|
* Unregister the global logger and return to Noop
|
|
*/
|
|
disable: () => void;
|
|
}
|
|
//# sourceMappingURL=diag.d.ts.map |