Last active
May 11, 2016 12:01
-
-
Save creativewild/271d217b6ffede760cbc6a33f5454b9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <schema id="NLog.Slack" | |
| targetNamespace="https://gist.githubusercontent.com/creativewild/271d217b6ffede760cbc6a33f5454b9f/raw/e79761a1acf70cd4dc75d8741242ddacfb56bb53/NLog.Slack.xsd" | |
| xmlns="http://www.w3.org/2001/XMLSchema" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:mstns="https://gist.githubusercontent.com/creativewild/271d217b6ffede760cbc6a33f5454b9f/raw/e79761a1acf70cd4dc75d8741242ddacfb56bb53/NLog.Slack.xsd" | |
| xmlns:nlog="http://www.nlog-project.org/schemas/NLog.xsd" | |
| elementFormDefault="qualified"> | |
| <import namespace="http://www.nlog-project.org/schemas/NLog.xsd" /> | |
| <complexType name="Slack"> | |
| <annotation> | |
| <documentation> | |
| The Slack target for NLog pushes messages to a channel or user. Fast, searchable and available everywhere. | |
| </documentation> | |
| </annotation> | |
| <complexContent> | |
| <extension base="nlog:Target"> | |
| <choice minOccurs="0" maxOccurs="unbounded"> | |
| <element name="layout" type="nlog:Layout" minOccurs="0" maxOccurs="1" /> | |
| <element name="webHookUrl" type="string" minOccurs="1" maxOccurs="1" nillable="false" /> | |
| <element name="channel" type="string" minOccurs="0" maxOccurs="1" /> | |
| <element name="username" type="string" minOccurs="0" maxOccurs="1" /> | |
| <element name="compact" type="boolean" minOccurs="0" maxOccurs="1" default="false" /> | |
| <element name="icon" type="strng" minOccurs="0" maxOccurs="1" /> | |
| </choice> | |
| <attribute name="layout" type="nlog:SimpleLayoutAttribute"> | |
| <annotation> | |
| <documentation>Instance of that is used to format log messages.</documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="webHookUrl" type="string"> | |
| <annotation> | |
| <documentation>Grab your Webhook URL (with the token) from your Incoming WebHooks integration in Slack</documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="channel" type="string"> | |
| <annotation> | |
| <documentation>The channel name (e.g #log) or user (e.g. @eth0) to send NLog messages to. Leave blank to use the integration default.</documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="username" type="string"> | |
| <annotation> | |
| <documentation>Name of the user that NLog messages comes from. Leave blank to use the integration default.</documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="compact" type="boolean" default="false"> | |
| <annotation> | |
| <documentation>Set to true to just send the NLog layout text (no process info, colors, etc)</documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="icon" type="string"> | |
| <annotation> | |
| <documentation>Leave blank to use the integration default. Can either be a URL or Emoji.</documentation> | |
| </annotation> | |
| </attribute> | |
| </extension> | |
| </complexContent> | |
| </complexType> | |
| </schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment