Open sandboxFocus

Interface ILoggerFactory3

Creates instances of the ILogger2 interface based on names rather than types, in addition to based on types.

Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public interface ILoggerFactory3 : ILoggerFactory2

Methods

Name Description
GetLogger(string)

Gets an instance of the ILogger2 interface for a specific sourceName. The name will usually, but not always, be a type name.

GetLogger(Type)

Gets an instance of the ILogger3 for a specific Type.

Extension Methods