Pino allows you to customize the log levels, like:
const additionalLevels = {
notice: 35, // Between info and warn
critical: 55, // Between error and fatal
};
const pinoLogger = pino(
{
// ...other options
customLevels: additionalLevels
}
);
However, there doesn't seem to be any way to pass these options to the @logtail/pino transport. It's just using its own hard-coded log levels instead. Is there any way to change this?