Skip to content

284dc1d5 f527 71c1 e909 239e19744a9f

Axel Kesseler edited this page Mar 1, 2023 · 6 revisions

CompositeLoggerExtension.AddPersistentLogger Method (ICompositeLogger, IPersistentLogger)

Adds a new persistent logger.

Namespace: Plexdata.LogWriter.Extensions
Assembly: Plexdata.LogWriter.Composite (in Plexdata.LogWriter.Composite.dll) Version: 1.0.7.1

Syntax

C#

public static ICompositeLogger AddPersistentLogger(
	this ICompositeLogger parent,
	IPersistentLogger logger
)

Parameters

 

parent
Type: Plexdata.LogWriter.Abstraction.ICompositeLogger
The composite logger to add the persistent logger to.
logger
Type: Plexdata.LogWriter.Abstraction.IPersistentLogger
The persistent logger instance to add.

Return Value

Type: ICompositeLogger
The provided composite logger.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICompositeLogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method adds a new persistent logger.

See Also

Reference

CompositeLoggerExtension Class
AddPersistentLogger Overload
Plexdata.LogWriter.Extensions Namespace

Clone this wiki locally