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
18 lines
736 B
Plaintext
18 lines
736 B
Plaintext
import { Logger } from './Logger';
|
|
import { LoggerOptions } from './LoggerOptions';
|
|
/**
|
|
* A registry for creating named {@link Logger}s.
|
|
*/
|
|
export interface LoggerProvider {
|
|
/**
|
|
* Returns a Logger, creating one if one with the given name, version, and
|
|
* schemaUrl pair is not already created.
|
|
*
|
|
* @param name The name of the logger or instrumentation library.
|
|
* @param version The version of the logger or instrumentation library.
|
|
* @param options The options of the logger or instrumentation library.
|
|
* @returns Logger A Logger with the given name and version
|
|
*/
|
|
getLogger(name: string, version?: string, options?: LoggerOptions): Logger;
|
|
}
|
|
//# sourceMappingURL=LoggerProvider.d.ts.map |