Class OutputDebugStringAppender
Appends log events to the OutputDebugString system.
public class OutputDebugStringAppender : AppenderSkeleton, IBulkAppender, IAppender, IOptionHandler, IFlushable
- Inheritance
-
OutputDebugStringAppender
- Implements
- Inherited Members
Remarks
OutputDebugStringAppender appends log events to the OutputDebugString system.
The string is passed to the native OutputDebugString
function.
Constructors
OutputDebugStringAppender()
Initializes a new instance of the OutputDebugStringAppender class.
public OutputDebugStringAppender()
Remarks
Default constructor.
Properties
RequiresLayout
This appender requires a log4net.Layout to be set.
protected override bool RequiresLayout { get; }
Property Value
- bool
true
Remarks
This appender requires a log4net.Layout to be set.
Methods
Append(LoggingEvent)
Write the logging event to the output debug string API
protected override void Append(LoggingEvent loggingEvent)
Parameters
loggingEventLoggingEventthe event to log
Remarks
Write the logging event to the output debug string API
OutputDebugString(string)
Stub for OutputDebugString native method
protected static extern void OutputDebugString(string message)
Parameters
messagestringthe string to output
Remarks
Stub for OutputDebugString native method