-
Notifications
You must be signed in to change notification settings - Fork 0
Null target
Julian edited this page Jan 25, 2015
·
2 revisions
Discards log messages. Used mainly for debugging and benchmarking.
Supported in .NET, Silverligt, Compact Framework and Mono. ##Configuration Syntax
<targets>
<target xsi:type="Null" name="String" formatMessage="Boolean" layout="Layout" />
</targets>
Read more about using the Configuration File. ##Parameters ###General Options name - Name of the target. ###Layout Options formatMessage - Indicates whether to perform layout calculation. Boolean Default: False
layout - Layout used to format log messages. Boolean Required. Default: ${longdate}|${level:uppercase=true}|${logger}|${message}
- Search in documentation
- Getting started
- Examples
- External articles and tutorials
- FAQ
- Platform support
- Advanced Configuration file options
- Filtering log messages
- [Using Time Sources](Time Source)
- Visual Studio support
- Who is using NLog
- [Write custom extensions](Extending NLog)