/NLogGrowlNotify

Growl for Windows Notification Target for NLog 2.0

Primary LanguageC#Apache License 2.0Apache-2.0

Growl for Windows Target for NLog

Version

NLog GrowlNotify is a custom target for NLog version 2.0 allowing you to send logging messages to Growl for Windows.

To use NLog GrowlNotify, you simply wire it up as an extension in the NLog.config file and place the NLog.Targets.GrowlNotify.dll, Growl.CoreLibrary.dll, and Growl.Connector.dll (download) in the same location as the NLog.dll & NLog.config files. Then use as you would any NLog target. Below is a sample NLog.config file:

<?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.GrowlNotify" />
    </extensions>
    
    <targets>
        <target name="growl" type="GrowlNotify" password="" host="" port="" />
    </targets>

    <rules>
        <logger name="*" minLevel="Trace" appendTo="growl"/>
    </rules>

</nlog>

NLog GrowlNotify supports sending growl notifications locally as well as across the network. Simply include the "host", "password", and optional "port" parameters to send growl notifications to another computer.

The following are some sample screenshots of NLog GrowlNotify in action:

See more about NLog at: http://nlog-project.org/ See more about Growl for Windows at: http://growlforwindows.com/