Function: LoggerPinoTransport()
ts
function LoggerPinoTransport(
opts: PinoTransportOptions,
): Promise<Transform & OnUnknown>;A transport for the Pino logger.
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | PinoTransportOptions | The options for the Pino transport. |
Returns
Promise<Transform & OnUnknown>
A function that takes a source and returns a transform stream.