Skip to content

supershowwei/NLog.DingtalkTarget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

NLog.DingtalkTarget

This is NLog target for Dingtalk, check following 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" autoReload="true">
  <extensions>
    <add assembly="NLog.DingtalkTarget"/>
  </extensions>
  <targets async="true">
    <target name="Dingtalk" xsi:type="Dingtalk"
            webhookUrl="https://oapi.dingtalk.com/robot/send?access_token=xxx"
            secret="(Optional)xxx"
            layout="${message}" />
  </targets>
  <rules>
    <logger name="*" minlevel="Debug" writeTo="Dingtalk" />
  </rules>
</nlog>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages