C# Класс Duality.TextWriterLogOutput

A ILogOutput">Log output that uses a
Наследование: ILogOutput
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
TextWriterLogOutput ( TextWriter writer ) : System
Write ( Log source, LogMessageType type, string msg, object context ) : void

Writes a single message to the output.

Описание методов

TextWriterLogOutput() публичный Метод

public TextWriterLogOutput ( TextWriter writer ) : System
writer System.IO.TextWriter
Результат System

Write() публичный Метод

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.
Результат void