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

AspNetApplication layout renderer

Rolf Kristensen edited this pageDec 30, 2022 ·9 revisions

ASP.NET Application Dictionary Value.

Platforms Support:Limited (Not supported in ASP.NET Core -ServerVariables are non-existing in ASP.NET Core.)

Configuration Syntax

${aspnet-application:variable=String}

Parameters

  • item - Key for lookup in Application-Dictionary (Required)

    Introduced with NLog.Web v5.1, and replaces theVariable-option

  • format - Format-specifier for converting the value as string (Optional)

    Introduced with NLog.Web v5.0

  • culture - Culture-specifier for converting the value as string (Optional)

    Introduced with NLog.Web v5.0

  • objectpath - Property path if the value is an object, also supports nested properties (Optional).

    Introduced with NLog.Web v5.2.1

Remarks

Use this layout renderer to output the value of the specified variable stored in the ASP.NET Application dictionary

-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