UNPKG

@opentelemetry/api

Version:
20 lines 678 B
"use strict"; /* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.diag = void 0; // Split module-level variable definition into separate files to allow // tree-shaking on each api instance. const diag_1 = require("./api/diag"); /** * Entrypoint for Diag API. * Defines Diagnostic handler used for internal diagnostic logging operations. * The default provides a Noop DiagLogger implementation which may be changed via the * diag.setLogger(logger: DiagLogger) function. * * @since 1.0.0 */ exports.diag = diag_1.DiagAPI.instance(); //# sourceMappingURL=diag-api.js.map