PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomILogger­Factory­ProviderGet­Logger­Factory
Open sandboxFocus

ILoggerFactoryProvider.GetLoggerFactory Method

GetLoggerFactory(String)

Gets an instance of the ILoggerFactory2 interface.

Declaration
ILoggerFactory2 GetLoggerFactory(string role)
Parameters
Type Name Description
System.String role

The role for which the logger is requested.

Returns
Type Description
ILoggerFactory2