Targets
Use
Targets are used to display, store, or pass log messages to another destination. There are two kinds of target:
- Targets that writes the LogEvents
- 'Wrapper' Targets that apply additional logic when writing to wrapped Target. Logic can be filtering / batching / retry-on-error / etc.
Available Targets
List of NLog targets can found here: https://nlog-project.org/config/?tab=targets
Writing your own target
NLog can be extended with custom new targets. For more information, see: Extending NLog