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

Left layout renderer

Rolf Kristensen edited this pageApr 22, 2019 ·5 revisions

Left part of a text.

Platforms Supported:All

Introduced in NLog 4.6

Related:

Configuration Syntax

Explicit usage:

${left:inner=Layout:length=Integer}

Ambient propertytruncate can be used as a shortcut (Introduced with NLog ver. 4.6.3)

${message:truncate=80}

Read more about using theConfiguration File.

Parameters

Transformation Options

  • inner - Wrapped layout. [DefaultParameter] so Inner: is not required if it's the firstLayout

  • length - Length in characters.Integer Required.

-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