Appends log events to the Trace system.
For a list of all members of this type, see TraceAppender Members.
System.Object
���log4net.Appender.AppenderSkeleton
������log4net.Appender.TraceAppender
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The application configuration file can be used to control what listeners are actually used. See the MSDN documentation for the Trace 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 Trace class for any operation except Assert
. When using the Compact Framework this appender will write to the Debug system rather than the Trace system. This appender will therefore behave like the DebugAppender.
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll)
TraceAppender Members | log4net.Appender Namespace