PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace

PostSharp.Patterns.Diagnostics.Custom Namespace

Public classInvalidFormattingStringException
Exception thrown by the FormattingStringParser and by the Logger class when user code provides an invalid formatting string.
Public structureFormattingStringParser
Parses the formatting string for custom messages of the Logger and LogActivity classes.
Public interfaceILogActivityOptions
Public interfaceILogger
Abstraction of the Logging facility, through which other components emit their log records. This interfaces abstracts other PostSharp components from the PostSharp.Patterns.Diagnostics component.
Public interfaceILoggerExceptionHandler
Defines methods called in case of exception in the Logger class. This interface can be implemented by any class implementing the ILogger interface. When an ILogger does not implement this interface, logging exceptions are simply silently ignored.
Public interfaceILoggerFactory
Creates instances of the ILogger interface. An instance of this interface must be registered into the ServiceLocator.