This is a Pino transport for google-cloud-logger-slack.
pnpm install pino-gcl-slack-transport
import { pino } from 'pino';
const pino = pino({
transport: {
target: 'pino-gcl-slack-transport',
options: {
defaultChannel: '<channel id>',
},
},
});
See types.ts for the full list of options.