PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace
PostSharp.Patterns.Diagnostics Namespace
The PostSharp.Patterns.Diagnostics namespace contains a logging aspect.
Classes
  Class Description
Public class LogAspectConfiguration
Configuration of an ILogAspect.
Public class LogAspectConfigurationAttribute
Configures an aspect of type ILogAspect.
Public class LogAttribute
Custom attribute that, when applied on a method, causes PostSharp to implement tracing before and after execution of this method.
Public class LogAttributeBase
Base class for all logging aspects.
Public class LogExceptionAttribute
Custom attribute that, when applied on a method, causes PostSharp to implement tracing upon exception in this method.
Public class LoggingProfile
Logging profiles are named configurations of logging aspects. They are typically instantiated in the PostSharp XML project file.
Interfaces
  Interface Description
Public interface ILogAspect
Runtime semantics of the logging aspect.
Enumerations
  Enumeration Description
Public enumeration LogLevel
Specifies the severity of a logged message.
Public enumeration LogOptions
Specifies the options for logging parameter names, types and values.