Table of Contents

Class LogWriter.TextWriterLogWriter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides a log writer implementation that writes log messages to a specified TextWriter.

public class LogWriter.TextWriterLogWriter : LogWriter.CustomLogWriter, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, ILogWriter, IDisposableObject, IDisposable, IBaseObject
Inheritance
LogWriter.TextWriterLogWriter
Implements
Extension Methods

Remarks

This class allows writing log messages with optional indentation to any TextWriter instance, such as a StreamWriter or StringWriter.

Constructors

TextWriterLogWriter(TextWriter)

Initializes a new instance of the LogWriter.TextWriterLogWriter class using the specified TextWriter.

Methods

WriteLine(string)

Writes a message to the log, followed by a line terminator.