-
Notifications
You must be signed in to change notification settings - Fork 0
284dc1d5 f527 71c1 e909 239e19744a9f
Axel Kesseler edited this page Mar 1, 2023
·
6 revisions
Adds a new persistent logger.
Namespace: Plexdata.LogWriter.Extensions
Assembly: Plexdata.LogWriter.Composite (in Plexdata.LogWriter.Composite.dll) Version: 1.0.7.1
C#
public static ICompositeLogger AddPersistentLogger(
this ICompositeLogger parent,
IPersistentLogger logger
)
- 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.
Type: ICompositeLogger
The provided composite logger.
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).
This method adds a new persistent logger.
CompositeLoggerExtension Class
AddPersistentLogger Overload
Plexdata.LogWriter.Extensions Namespace