Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
12 lines
564 B
Plaintext
12 lines
564 B
Plaintext
import { type Logger } from 'pino';
|
|
import { type PinoPretty } from 'pino-pretty';
|
|
import type { Config } from '../config/types.js';
|
|
/**
|
|
* Payload internal logger. Uses Pino.
|
|
* This allows you to bring your own logger instance and let payload use it
|
|
*/
|
|
export type PayloadLogger = Logger;
|
|
export declare const prettySyncLoggerDestination: PinoPretty.PrettyStream;
|
|
export declare const defaultLoggerOptions: PinoPretty.PrettyStream;
|
|
export declare const getLogger: (name?: string, logger?: Config["logger"]) => PayloadLogger;
|
|
//# sourceMappingURL=logger.d.ts.map |