Skip to content
NLogでChatworkに投稿するターゲット
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NLog.Targets.Chatwork.ConsoleApp
NLog.Targets.Chatwork
.gitignore
LICENSE
NLog.Targets.Chatwork.sln
README.md

README.md

NLog.Targets.Chatwork

Build status

NLogでChatworkに投稿するターゲット

http://tech.tanaka733.net/entry/2013/12/12/nlog-tagets-chatwork

Requirement

限定公開であるChatwork APIの認証トークンが必要です。

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="NLog.Targets.Chatwork"/>
  </extensions>
  <targets>
    <target name="cw" xsi:type="ChatworkTarget"
            Token="hogeToken" RoomId="roomIdToPost"
            Layout="[${logger}]${newline}${message}"/>
  </targets>
  <rules>
    <logger name="*" minlevel="Trace" writeTo="cw" />
  </rules>
</nlog>
You can’t perform that action at this time.