UNPKG

@ogcio/o11y-sdk-react

Version:

Opentelemetry standard instrumentation SDK for React based project

19 lines 533 B
export class BasicRedactor { constructor() { } process(value, source, kind) { const { redactedValue, context } = this.redact(value, source, kind); this.exportMetrics(context, source, kind); return redactedValue; } redact(_value, _source, _kind) { // no-op by default return { redactedValue: _value, context: {}, }; } exportMetrics(_context, _source, _kind) { // no-op by default } } //# sourceMappingURL=basic-redactor.js.map