TraceAppender ClassApache log4net™ SDK Documentation
Appends log events to the OnlineTrace system.
Inheritance Hierarchy

OnlineSystem Object
  log4net.Appender AppenderSkeleton
    log4net.Appender TraceAppender

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public class TraceAppender : AppenderSkeleton
Remarks

The application configuration file can be used to control what listeners are actually used. See the MSDN documentation for the OnlineTrace class for details on configuring the trace system.

Events are written using the System.Diagnostics.Trace.Write(string,string) method. The event's logger name is the default value for the category parameter of the Write method.

Compact Framework
The Compact Framework does not support the OnlineTrace class for any operation except Assert. When using the Compact Framework this appender will write to the OnlineDebug system rather than the Trace system. This appender will therefore behave like the DebugAppender.

See Also