PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogger­Factory­Extensions
Open sandboxFocus

LoggerFactoryExtensions Class

Extension methods for the ILoggerFactory interface.

Inheritance
LoggerFactoryExtensions
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common.dll
Syntax
public static class LoggerFactoryExtensions : Object

Methods

Name Description
GetLogSource(ILoggerFactory2)

Gets a Logger for a given role and for the calling type.

GetLogSource(ILoggerFactory2, ref CallerInfo)
GetLogSource(ILoggerFactory2, Type)

Gets a LogSource for a given role and System.Type.

GetLogSource(ILoggerFactory3)

Gets a Logger for a given role and for the calling type.

GetLogSource(ILoggerFactory3, ref CallerInfo)
GetLogSource(ILoggerFactory3, String)

Gets a LogSource for a given role and sourceName.

GetLogSource(ILoggerFactory3, Type)

Gets a LogSource for a given role and System.Type.