Skip to content

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

Configuration Syntax

${rtb-link:inner=Layout}

Parameters

  • inner - Wrapped layout. Layout

Notes

See also NLog.Windows.Forms 4.2 - Release Notes

alt

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

Clone this wiki locally