import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
import { getLogDir, getLoggerConfig } from "./logger/config.js";
import { getLogStats } from "./logger/stats.js";
import { flushAndClose, isLoggerShuttingDown, setShuttingDown } from "./logger/shutdown.js";
import { cleanOldLogs, rotateLogs } from "./logger/rotation.js";
import { clearRequestContext, getAsyncLogContext, inboundCorrelationMetadataFromAsyncLogContext, runWithLogContext, setRequestContext, updateAsyncLogContext } from "./logger/context.js";
import { isLogRedactionEnabled, redactObject, redactPemBlock, redactSecret, redactSensitiveInfo } from "./logger/redact.js";
import { exportLog, flushExporters, getExporters, initializeExporters } from "./logger/exporters.js";
import { configureAuditLog, getAuditConfig, logAuditEvent, logAuthEvent, logConfigChange, logDataAccess, logPermissionChange } from "./logger/audit.js";
import { Pino as pino, baseLogger as logger, createExtensionLogger, createLogger, createModuleLogger, createRequestLogger, createServiceLogger, getLogLevel, init_logger as init_logger$1, isLevelEnabled, registerShutdownHandler, setLogLevel, withLogLevel } from "./logger/index.js";
//#region src/utils/logger.ts
var init_logger = __esmMin((() => {
	init_logger$1();
}));
//#endregion
init_logger();
export { pino as Pino, logger as baseLogger, logger, cleanOldLogs, clearRequestContext as clearRequestLogger, configureAuditLog, createExtensionLogger, createLogger, createModuleLogger, createRequestLogger, createServiceLogger, exportLog, flushAndClose, flushExporters, getAsyncLogContext, getAuditConfig, getExporters, getLogDir, getLogLevel, getLogStats, getLoggerConfig, inboundCorrelationMetadataFromAsyncLogContext, init_logger, initializeExporters, isLevelEnabled, isLogRedactionEnabled, isLoggerShuttingDown, logAuditEvent, logAuthEvent, logConfigChange, logDataAccess, logPermissionChange, redactObject, redactPemBlock, redactSecret, redactSensitiveInfo, registerShutdownHandler, rotateLogs, runWithLogContext, setLogLevel, setRequestContext as setRequestLogger, setShuttingDown, updateAsyncLogContext, withLogLevel };

//# sourceMappingURL=logger.js.map