Skip to content

Targets

Rolf Kristensen edited this page Nov 28, 2021 · 86 revisions
Clone this wiki locally

Use

Targets are used to display, store, or pass log messages to another destination. There are two kinds of target; those that receive and handle the messages, and those that buffer or route the messages to another target. The second group are called 'wrapper' targets.

Available Targets

List of NLog targets can found here: https://nlog-project.org/config/?tab=targets

Nuget Packages from NLog

Writing your own target

NLog can be extended with custom new targets. For more information, see: Extending NLog