Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
bjarneriis Version 1.3
Added the option to pass LogEventInfo as tags
Latest commit 8369015 Mar 15, 2016

Sentry Target for NLog

NLog Sentry is a custom target for NLog enabling you to send logging messages to the Sentry logging service.


To use the Sentry target, simply add it an extension in the NLog.config file and place the NLog.Targets.Sentry.dll in the same location as the NLog.dll & NLog.config files.

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns=""

    <add assembly="NLog.Targets.Sentry" />

    <target name="Sentry" type="Sentry" dsn="<your sentry dsn>"/>

    <logger name="*"  appendTo="Sentry" minLevel="Error"/>

The package is also available through NuGet as "NLog.Targets.Sentry".

You can’t perform that action at this time.