Extends ILogger.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public interface ILogger2 : ILogger, ILoggerExceptionHandler
Properties
Name | Description |
---|---|
CurrentContext | Gets the current ILoggingContext. |
Factory | Gets the ILoggerFactory, which allows to create new instances of the logger. This is used for instance by ForType(Type). |
Methods
Name | Description |
---|---|
GetContextLocalLogger() | Gets the logger for the current context. |