Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 575 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 575 Bytes

@autotelic/pino-seq-transport

A Pino v7+ transport to send events to Seq

Installation

npm install --save @autotelic/pino-seq-transport

Usage

import pino from 'pino'

const logger = pino({
  transport: {
    target: '@autotelic/pino-seq-transport',
    options: {
      loggerOpts: {
        serverUrl: 'http://localhost:5341'
      }
    }
  }
})

loggerOpts are passed through to seq.Logger() from seq-logging