Skip to content

rburnham52/structured-log-seq-sink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

structured-log-seq-sink Build Status

A structured-log plugin that writes log events to Seq.

Uses es6-promise and isomorphic-fetch to polyfill Promises and fetch, respectively.

Installation

npm i structured-log-seq-sink --save

Usage

var structuredLog = require('structured-log');
var seqSink = require('structured-log-seq-sink');

var logger = structuredLog.configure()
  .writeTo(seqSink({ /* ... options ...  */ }))
  .create();
Available options
Parameter Description
apiKey (optional) API key to use
url (required) URL to the Seq server

Building and testing

To build the modules yourself, ensure Rollup is installed globally, and run the build script:

npm i rollup -g
npm run build

Then, you can test the bundled module by running:

npm test

About

A structured-log plugin that writes log events to Seq.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%