import { Logger } from 'nestjs-pino'; import { ModuleInitializationException } from '../exceptions/module-initialization-exception'; /** * Create custom logger to use it during the bootstrap process and unhandled errors. */ export declare function createLogger(LoggerModule: any): Promise; /** * Log the error with fatal severity, fallback with console if the custom logger isn't initialized properly. * @param logger * @param err * @param msg */ export declare function logFatal(logger: Logger, err: unknown, msg?: string): void; /** * Log a module initialization error and its cause. * @param e The error to log * @param logger The logger to use */ export declare const logModuleInitializationError: (e: ModuleInitializationException, logger: any) => void; //# sourceMappingURL=logging.utils.d.ts.map