Class LogWriter.NullLogWriter
Represents a no-op implementation of the ILogWriter interface.
public class LogWriter.NullLogWriter : LogWriter.BaseLogWriter, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, ILogWriter, IDisposableObject, IDisposable, IBaseObject
- Inheritance
-
LogWriter.NullLogWriter
- Implements
- Extension Methods
Remarks
This class provides an implementation of ILogWriter that performs no operations. It can be used in scenarios where logging is optional or needs to be disabled without modifying the code that depends on an ILogWriter instance.
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.