C# Class Duality.TextWriterLogOutput

A ILogOutput">Log output that uses a
Inheritance: ILogOutput
Afficher le fichier Open project: BraveSirAndrew/duality Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public TextWriterLogOutput ( TextWriter writer ) : System
writer System.IO.TextWriter
Résultat System

Write() public méthode

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.
Résultat void