Usage

To use this target you have to include it as an extension in your NLog configuration:
<?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="NLogTwitterTarget" />
    </extensions>
    <targets async="true">
        <target xsi:type="Twitter" name="twitterError"
              ConsumerKey="" ConsumerSecret=""
              AccessToken="" AccessTokenSecret=""
              layout="${level} | ${longdate} | ${identity} | ${message}" />
    </targets>
</nlog>

Last edited May 20, 2011 at 11:34 AM by carlescs, version 3

Comments

No comments yet.