Table of Contents

Class LogWriter.BaseLogWriter

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

Provides a base implementation for log writers, defining the core methods for writing log messages and managing indentation levels.

public abstract class LogWriter.BaseLogWriter : DisposableObject, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, ILogWriter, IDisposableObject, IDisposable, IBaseObject
Inheritance
LogWriter.BaseLogWriter
Implements
Derived
Extension Methods

Remarks

This abstract class serves as a foundation for creating custom log writers. Derived classes must implement the methods to handle log message output and indentation behavior. The class ensures consistent behavior across different log writer implementations.

Methods

Indent()

Increases the indentation level for subsequent log messages.

Unindent()

Decreases the indentation level for subsequent log messages.

WriteLine(string)

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