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

Writes log messages to the console with customizable coloring.

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

Syntax

C#
public sealed class ColoredConsoleTarget : TargetWithLayoutHeaderAndFooter
Visual Basic (Declaration)
Public NotInheritable Class ColoredConsoleTarget _
	Inherits TargetWithLayoutHeaderAndFooter
Visual Basic (Usage)
Dim instance As ColoredConsoleTarget

Inheritance Hierarchy

Object
  NLog.Targets..::.Target
    NLog.Targets..::.TargetWithLayout
      NLog.Targets..::.TargetWithLayoutHeaderAndFooter
        NLog.Targets..::.ColoredConsoleTarget

See Also