-
Notifications
You must be signed in to change notification settings - Fork 0
64138f86 c451 3e91 727b f0d511674fc2
Adds a new console logger default settings.
Namespace: Plexdata.LogWriter.Extensions
Assembly: Plexdata.LogWriter.Composite (in Plexdata.LogWriter.Composite.dll) Version: 1.0.7.1
C#
public static ICompositeLogger<TContext> AddConsoleLogger<TContext>(
this ICompositeLogger<TContext> parent,
bool windows
)
- parent
- Type: Plexdata.LogWriter.Abstraction.ICompositeLogger(TContext)
The composite logger to add the console logger to. - windows
- Type: System.Boolean
True to choose the windows version and false to take the standard version instead.
- TContext
- The type of the logger context.
Type: ICompositeLogger(TContext)
The provided composite logger.
In Visual Basic and C#, you can call this method as an instance method on any object of type ICompositeLogger(TContext). 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 default console logger settings. Depending on value windows either the Windows compatible logger or the standard logger is chosen.
CompositeLoggerExtension Class
AddConsoleLogger Overload
Plexdata.LogWriter.Extensions Namespace