"use strict";
/**
 * Observability module — structured logging, redaction, correlation, and error tracking.
 *
 * Usage:
 * ```ts
 * import { createLogger } from '../lib/observability';
 * const log = createLogger('my-module');
 * log.info('Something happened', { detail: 'value' });
 * ```
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.setSpanMeasurement = exports.wrapMcpServerWithSentry = exports.withWizardSpan = exports.startWizardSpan = exports.flushSentry = exports.setSentryTag = exports.setSentryUser = exports.addBreadcrumb = exports.captureError = exports.initSentry = exports.rotateRunId = exports.getSessionStartMs = exports.getRunId = exports.getSessionId = exports.initCorrelation = exports.redactString = exports.redact = exports.setProjectLogFile = exports.getStructuredLogFilePath = exports.getLogFilePath = exports.configureLogFile = exports.setTerminalSink = exports.initLogger = exports.createLogger = void 0;
// Logger
var logger_1 = require("./logger");
Object.defineProperty(exports, "createLogger", { enumerable: true, get: function () { return logger_1.createLogger; } });
Object.defineProperty(exports, "initLogger", { enumerable: true, get: function () { return logger_1.initLogger; } });
Object.defineProperty(exports, "setTerminalSink", { enumerable: true, get: function () { return logger_1.setTerminalSink; } });
Object.defineProperty(exports, "configureLogFile", { enumerable: true, get: function () { return logger_1.configureLogFile; } });
Object.defineProperty(exports, "getLogFilePath", { enumerable: true, get: function () { return logger_1.getLogFilePath; } });
Object.defineProperty(exports, "getStructuredLogFilePath", { enumerable: true, get: function () { return logger_1.getStructuredLogFilePath; } });
Object.defineProperty(exports, "setProjectLogFile", { enumerable: true, get: function () { return logger_1.setProjectLogFile; } });
// Redaction
var redact_1 = require("./redact");
Object.defineProperty(exports, "redact", { enumerable: true, get: function () { return redact_1.redact; } });
Object.defineProperty(exports, "redactString", { enumerable: true, get: function () { return redact_1.redactString; } });
// Correlation
var correlation_1 = require("./correlation");
Object.defineProperty(exports, "initCorrelation", { enumerable: true, get: function () { return correlation_1.initCorrelation; } });
Object.defineProperty(exports, "getSessionId", { enumerable: true, get: function () { return correlation_1.getSessionId; } });
Object.defineProperty(exports, "getRunId", { enumerable: true, get: function () { return correlation_1.getRunId; } });
Object.defineProperty(exports, "getSessionStartMs", { enumerable: true, get: function () { return correlation_1.getSessionStartMs; } });
Object.defineProperty(exports, "rotateRunId", { enumerable: true, get: function () { return correlation_1.rotateRunId; } });
// Sentry
var sentry_1 = require("./sentry");
Object.defineProperty(exports, "initSentry", { enumerable: true, get: function () { return sentry_1.initSentry; } });
Object.defineProperty(exports, "captureError", { enumerable: true, get: function () { return sentry_1.captureError; } });
Object.defineProperty(exports, "addBreadcrumb", { enumerable: true, get: function () { return sentry_1.addBreadcrumb; } });
Object.defineProperty(exports, "setSentryUser", { enumerable: true, get: function () { return sentry_1.setSentryUser; } });
Object.defineProperty(exports, "setSentryTag", { enumerable: true, get: function () { return sentry_1.setSentryTag; } });
Object.defineProperty(exports, "flushSentry", { enumerable: true, get: function () { return sentry_1.flushSentry; } });
Object.defineProperty(exports, "startWizardSpan", { enumerable: true, get: function () { return sentry_1.startWizardSpan; } });
Object.defineProperty(exports, "withWizardSpan", { enumerable: true, get: function () { return sentry_1.withWizardSpan; } });
Object.defineProperty(exports, "wrapMcpServerWithSentry", { enumerable: true, get: function () { return sentry_1.wrapMcpServerWithSentry; } });
Object.defineProperty(exports, "setSpanMeasurement", { enumerable: true, get: function () { return sentry_1.setSpanMeasurement; } });
