PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger Interface / ILogger Properties

ILogger Properties

The ILogger type exposes the following members.

Public propertyActivityOptions
Gets the default verbosity when opening and closing activities.
Public propertyRequiresSuspendResume
Determines whether calls of SuspendActivity(ILoggingContext, CallerInfo) and ResumeActivity(ILoggingContext, CallerInfo) is required for asynchronous custom activities in the current context.
Public propertyRole
Gets the role of records created by this ILogger. A list of standard roles is available in the LoggingRoles class.
Public propertyType Obsolete.
Gets the source Type for which this ILogger was created.
See Also