Skip to content

Commit bf9dd6e

Browse files
committed
NLog.Targets.Network - Updated README.md to include SplunkTarget
1 parent 57d368f commit bf9dd6e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/NLog.Targets.Network/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ NLog Syslog Target combines the NLog NetworkTarget with NLog SyslogLayout
1212

1313
See the [NLog Wiki - Syslog Target](https://github.com/NLog/NLog/wiki/Syslog-target) for available options and examples.
1414

15+
## NLog Splunk Target
16+
17+
NLog Splunk Target combines the NLog NetworkTarget with NLog SplunkLayout
18+
19+
See the [NLog Wiki - Splunk Target](https://github.com/NLog/NLog/wiki/Splunk-target) for available options and examples.
20+
1521
## NLog GELF Target
1622

1723
NLog Gelf Target combines the NLog NetworkTarget with NLog GelfLayout for Graylog Extended Logging Format (GELF)
@@ -40,11 +46,12 @@ Alternative register from code using [fluent configuration API](https://github.c
4046
LogManager.Setup().SetupExtensions(ext => {
4147
ext.RegisterTarget<NLog.Targets.NetworkTarget>();
4248
ext.RegisterTarget<NLog.Targets.Log4JXmlTarget>();
43-
ext.RegisterTarget<NLog.Targets.SyslogTarget>();
44-
ext.RegisterTarget<NLog.Targets.Log4JXmlTarget>();
4549
ext.RegisterTarget<NLog.Targets.GelfTarget>();
50+
ext.RegisterTarget<NLog.Targets.SplunkTarget>();
51+
ext.RegisterTarget<NLog.Targets.SyslogTarget>();
4652
ext.RegisterLayout<NLog.Layouts.Log4JXmlEventLayout>();
4753
ext.RegisterLayout<NLog.Layouts.GelfLayout>();
54+
ext.RegisterLayout<NLog.Layouts.SpunkLayout>();
4855
ext.RegisterLayout<NLog.Layouts.SyslogLayout>();
4956
});
5057
```

0 commit comments

Comments
 (0)