A Pino v7+ transport to send events to Seq
npm install --save @autotelic/pino-seq-transport
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