Table of Contents

Constructor MultiLogWriter

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

MultiLogWriter(params ILogWriter[])

Initializes a new instance of the LogWriter.MultiLogWriter class with the specified log writers.

public MultiLogWriter(params ILogWriter[] writers)

Parameters

writers ILogWriter[]

An array of ILogWriter instances to which log messages will be forwarded. Cannot be null.

Remarks

This constructor allows you to create a composite log writer that forwards log messages to multiple underlying log writers. Each writer in the writers array is added to the internal collection of log writers.