To set up the target in the configuration file, use the following syntax:
The result is:
To set up the log target programmatically similar to above use code like this:
,
${longdate}|${level:uppercase=true}|${logger}|${message}
To set up the target in the configuration file, use the following syntax:
This assumes just one target and a single rule. More configuration options are described here.
The result is a message box:
To set up the log target programmatically use code like this:
${longdate}|${level:uppercase=true}|${logger}|${message}
To set up the target in the configuration file, use the following syntax:
The result is:

To set up the target with coloring rules in the configuration file, use the following syntax:
The result is:


To set up the log target programmatically similar to above use code like this:
,
for RowColoring,
for WordColoring
${longdate}|${level:uppercase=true}|${logger}|${message}
null if no target is attached${longdate}|${level:uppercase=true}|${logger}|${message}