/**
 * Server-side logger management
 * Used for server-only code like config.ts
 */
import 'server-only';
import { noop_logger } from './types.js';
/**
 * Module-level logger instance for server-side code
 * Defaults to no-op logger
 */
let server_logger = noop_logger;
/**
 * Set the logger instance for server-side code
 * Call this once during app initialization
 *
 * @example
 * ```ts
 * // In your app initialization (e.g., instrumentation.ts)
 * import { createLogger } from 'hazo_logs';
 * import { set_server_logger } from 'hazo_collab_forms/lib';
 *
 * const logger = createLogger('my_app');
 * set_server_logger(logger);
 * ```
 */
export function set_server_logger(logger) {
    server_logger = logger;
}
/**
 * Get the current server logger instance
 * Returns no-op logger if none has been set
 */
export function get_server_logger() {
    return server_logger;
}
//# sourceMappingURL=server.js.map