-
Notifications
You must be signed in to change notification settings - Fork 0
26e708ac abb5 e4c4 a399 90a0f7e4961f
Axel Kesseler edited this page Mar 1, 2023
·
6 revisions
CompositeLoggerExtension.AddConsoleLogger Method (ICompositeLogger, IConsoleLoggerSettings, Boolean)
Adds a new console logger with setting of provided settings parameter.
Namespace: Plexdata.LogWriter.Extensions
Assembly: Plexdata.LogWriter.Composite (in Plexdata.LogWriter.Composite.dll) Version: 1.0.7.1
C#
public static ICompositeLogger AddConsoleLogger(
this ICompositeLogger parent,
IConsoleLoggerSettings settings,
bool windows
)
- parent
- Type: Plexdata.LogWriter.Abstraction.ICompositeLogger
The composite logger to add the console logger to. - settings
- Type: Plexdata.LogWriter.Abstraction.IConsoleLoggerSettings
The settings to get all console logger settings from. - windows
- Type: System.Boolean
True to choose the windows version and false to take the standard version instead.
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 console logger using the settings parameter to read settings from.
CompositeLoggerExtension Class
AddConsoleLogger Overload
Plexdata.LogWriter.Extensions Namespace