Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/NLogPublic

WrapLine layout renderer

Rolf Kristensen edited this pageApr 21, 2019 ·4 revisions

Wraps the result of another layout output at specified line length.

Platforms Supported:All

Introduced in NLog 4.3.4

Configuration Syntax

${wrapline=Integer:inner=Layout}

or by using ambient property to modify output of other layout renderer:

${other:wrapline=Integer}

Parameters

Transformation Options

  • inner - Wrapped layout. Layout. Default attribute.
  • wrapline - Indicates wrapping position. Integer greater than 0. Default: 80

Examples

${wrapline:${message}}${wrapline:Inner=${message}:WrapLine=80}${message:wrapline=80}

-Troubleshooting Guide - See available NLog Targets and Layouts:https://nlog-project.org/config

Configuration

Programmatic Configuration

Advanced

Extending NLog

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp