Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

RobThree/NLog.Targets.Pushover

Repository files navigation

Logo NLog.Targets.Pushover

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

Configuration

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

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <extensions>
    <add assembly="NLog.Targets.Pushover" />
  </extensions>

  <targets>
    <target name="pushover" xsi:type="Pushover" layout="${logger}::${message}"
            applicationKey="azGDORePK8gMaC0QOYAMyEEuzJnyUi"
            userOrGroupName="uQiRzpo4DXghDmr9QzzfQu27cmVRsG" />
  </targets>

  <rules>
    <logger name="*" minlevel="Error" writeTo="pushover" />
  </rules>
</nlog>

For more configuration options see the wiki page

This library is available as NuGet package.


Build status NuGet version

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published