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

DebugSystem target

Rolf Kristensen edited this pageSep 3, 2023 ·4 revisions

Sends log messages through System.Diagnostics.Debug.WriteLine

Platforms Supported:All (Introduced with NLog 5.0)

Configuration Syntax

<targets>  <targetxsi:type="DebugSystem"name="String"layout="Layout" /></targets>

Parameters

General Options

  • name - Name of the target.

Output Options

  • layout - Layout used to format log messages. Layout Required
  • header - Layout used to format header-output when initializing. Layout
  • footer - Layout used to format footer-output when closing. Layout

Notes

Alternative targets for diagnostic output:

-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