Closed GeoffreyEmerson closed 10 months ago
Same here.
Hot fix I am using:
import pino from "pino";
import pinoHttp from "pino-http";
const log = pino<never>({
customLevels: {
metric: 25
}
});
export const logRequestsMiddleware = pinoHttp({
logger: log
});
Notice the never
generic to comply with pinoHttp
function.
Using pino@8.17.1 and pino-http@8.6.0 :
Build error: