[This is preliminary documentation and is subject to change.]

Writes log messages to the ASP.NET trace.

Namespace:  NLog.Targets
Assembly:  NLog.Extended (in NLog.Extended.dll) Version: 2.0.1.0

Syntax

C#
public class AspNetTraceTarget : TargetWithLayout
Visual Basic (Declaration)
Public Class AspNetTraceTarget _
	Inherits TargetWithLayout
Visual Basic (Usage)
Dim instance As AspNetTraceTarget

Remarks

Log entries can then be viewed by navigating to http://server/path/Trace.axd.

Inheritance Hierarchy

Object
  NLog.Targets..::.Target
    NLog.Targets..::.TargetWithLayout
      NLog.Targets..::.AspNetTraceTarget

See Also