/** * Shared pino logger factory for all Grackle server-side packages. * * @module */ import { type Logger } from "pino"; /** Options for {@link createPinoLogger}. */ export interface CreatePinoLoggerOptions { /** Logger `name` field (e.g. `"grackle-server"`). */ name: string; /** Optional pino mixin function (e.g. for traceId injection). */ mixin?: () => object; } /** * Create a pino logger with Grackle's standard level and transport config. * * Level is read from `LOG_LEVEL` (validated; invalid values fall back to `"info"`). * In non-production environments the `pino/file` transport writes JSON to stdout (fd 1). */ export declare function createPinoLogger(options: CreatePinoLoggerOptions): Logger; export type { Logger } from "pino"; //# sourceMappingURL=logger-factory.d.ts.map