/pino-seq-transport

Primary LanguageJavaScriptMIT LicenseMIT

@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