Table of Contents

Constructor ActionLogWriter

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

ActionLogWriter(Action<string>)

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

public ActionLogWriter(Action<string> logAction)

Parameters

logAction Action<string>

The action to invoke for logging messages. This action is called with the log message as its parameter.

Exceptions

ArgumentNullException

Thrown if logAction is null.