PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger­Factory2 Interface / ILogger­Factory2 Methods

ILoggerFactory2 Methods

The ILoggerFactory2 type exposes the following members.

Public methodGetLogger Obsolete.
Gets an instance of the ILogger2 for a specific Type.
Extension Methods
Public Extension MethodGetLogSource()Overloaded.
Gets a Logger for a given role and for the calling type.
(Defined by LoggerFactoryExtensions.)
Public Extension MethodGetLogSource(Type)Overloaded.
Gets a LogSource for a given role and Type.
(Defined by LoggerFactoryExtensions.)
See Also