-
Notifications
You must be signed in to change notification settings - Fork 26
RTB Link Layout Renderer
Rolf Kristensen edited this page Nov 2, 2025
·
12 revisions
Converts the result of another layout output into a clickable link in the RichTextBoxTarget.
Requires setting supportLink parameter of the target to true. Available since NLog.Windows.Forms 4.2.
Platforms Supported: All - Requires nuget-package NLog.Windows.Forms
${rtb-link:inner=Layout}
- inner - Wrapped layout. Layout
See also NLog.Windows.Forms 4.2 - Release Notes

The current implementation is not optimal, since modifies and stores additional data in the LogEventInfo.Properties dictionary (LogEventInfo should stay immutable), thus causing unexpected side-effects when using structured logging.