Table of Contents

Class LogWriter.ActionLogWriter

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

Provides a log writer implementation that writes log messages using a user-defined action.

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

Remarks

The LogWriter.ActionLogWriter class allows you to define a custom logging behavior by specifying an Action<T> delegate that processes log messages.

Constructors

ActionLogWriter(Action<string>)

Initializes a new instance of the LogWriter.ActionLogWriter class with the specified logging action.

Methods

WriteLine(string)

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