PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Verbosity­Configuration Class/Logging­Verbosity­Configuration Methods

LoggingVerbosityConfiguration Methods

The LoggingVerbosityConfiguration type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodFinalize
Destructor.
(Overrides Object.Finalize().)
Public methodReset
Resets all settings to their default value (i.e. Debug level for everything).
Public methodSetMinimalLevel(LogLevel)
Sets the minimal LogLevel for all namespaces, types, and roles.
Public methodSetMinimalLevel(LogLevel, String)
Sets the minimal LogLevel for all namespaces and types for a specific role.
Public methodSetMinimalLevelForNamespace(LogLevel, String)
Sets the minimal LogLevel for a specific namespace.
Public methodSetMinimalLevelForNamespace(LogLevel, String, String)
Sets the minimal LogLevel for a specific namespace and role.
Public methodSetMinimalLevelForType(LogLevel, Type)
Sets the minimal LogLevel for a specific Type.
Public methodSetMinimalLevelForType(LogLevel, Type, String)
Sets the minimal LogLevel for a specific Type and role.
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Public methodUse
Uses the current LoggingVerbosityConfiguration for the current execution context.
See Also