PostSharp 6.5 / / 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.

Methods
  NameDescription
Public methodGetLogger
Gets an instance of the ILogger2 for a specific Type.
Extension Methods
  NameDescription
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 Logger for a given role and Type.
(Defined by LoggerFactoryExtensions.)
See Also