Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 646 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 646 Bytes

serilogjs-seq-sink

A SerilogJS sink that POSTs events to Seq Server.

Designed to work with Seq Logging Server and SerilogJS

Installing

bower install serilogjs-seq-sink

Init

var log = serilog.configuration()
    .writeTo(serilog.sink.seq({url:"http://localhost:5341"}))
    .createLogger();

PS: Change the url to point to you production Seq endpoint

Using

log.error('Cool semantic log error for {App}', {App:'myCoolJsApp'});

Check for more examples here