A Serilog sink which writes events to Rollbar
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1f494bf May 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update version May 15, 2018
tools Initial commit Feb 24, 2018
.gitignore Initial commit Feb 24, 2018
LICENSE Initial commit Feb 24, 2018
README.md Rename nuget package Feb 24, 2018
build.cake Rename package to RollbarCom Feb 24, 2018
build.ps1 Initial commit Feb 24, 2018
global.json Initial commit Feb 24, 2018

README.md

Serilog.Sinks.RollbarCom

Build status Quality Gate NuGet

A Serilog sink which writes events to Rollbar.

Installation

The library is available as a Nuget package.

Install-Package Serilog.Sinks.RollbarCom

Get started

var log = new LoggerConfiguration()
    .WriteTo.Rollbar("Post server access token")
    .Enrich.FromLogContext()
    .CreateLogger();

// By default, only messages with level errors and higher are captured
log.Error("This error goes to Rollbar.");