C# Class Duality.TextWriterLogOutput

A ILogOutput">Log output that uses a
Inheritance: ILogOutput
Mostrar archivo Open project: BraveSirAndrew/duality Class Usage Examples

Public Methods

Method Description
TextWriterLogOutput ( TextWriter writer ) : System
Write ( Log source, LogMessageType type, string msg, object context ) : void

Writes a single message to the output.

Method Details

TextWriterLogOutput() public method

public TextWriterLogOutput ( TextWriter writer ) : System
writer System.IO.TextWriter
return System

Write() public method

Writes a single message to the output.
public Write ( Log source, LogMessageType type, string msg, object context ) : void
source Log The from which the message originates.
type LogMessageType The type of the log message.
msg string The message to write.
context object The context in which this log was written. Usually the primary object the log entry is associated with.
return void