Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 477 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 477 Bytes

pino-gcl-slack-transport

This is a Pino transport for google-cloud-logger-slack.

Usage

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.