@bracketed/otel-api
Version:
@opentelementery/api but ported to suit modern uses. (2025)
15 lines (12 loc) • 391 B
TypeScript
import { DiagAPI } from './api/diag.js';
import './diag/types.js';
/**
* 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
*/
declare const diag: DiagAPI;
export { diag };