import { Logger as NextLogger, LoggerOptions as NextLoggerOptions } from '@genesislcap/foundation-logger'; export { LogLevel } from '@genesislcap/foundation-logger'; /** * Options for creating a logger. * @public */ export interface LoggerOptions extends NextLoggerOptions { } /** * A logger that extends the `Consola` logger. * * @remarks * This logger is part of the package's API but may still be subject to changes and improvements. * * @public */ export interface Logger extends NextLogger { /** * A logger method for deprecated symbols. * * @remarks * Pair with a deprecated tag. See {@link https://tsdoc.org/pages/tags/deprecated/} for more information. * * @example * ```ts * logger.deprecated('someSymbol'); * ``` * * @example With a custom instruction and target removal version. * ```ts * logger.deprecated('routeButtons', 'Use the default slot instead.', '20.0.0'); * ``` * * @param symbol - The deprecated symbol. * @param instruction - An optional alternative instruction. Defaults to `Consult docs for better alternative.` * @param removalVersionTarget - An optional target removal version number. */ deprecated(symbol: string, instruction?: string, removalVersionTarget?: string): void; } /** * The default logger options. * @public */ export declare const defaultLoggerOptions: LoggerOptions; /** * Creates a logger with the given name and options. * @param name - The name to give the logger. * @param options - The options to use when creating the logger. * @returns The resulting logger. * * @deprecated - Use `createLogger` from `@genesislcap/foundation-logger` instead. * @public */ export declare function createLogger(name: string, options?: LoggerOptions): Logger; //# sourceMappingURL=logger.d.ts.map