PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Namespace­SourceSet­Level
Open sandboxFocus

LoggingNamespaceSource.SetLevel Method

SetLevel(LogLevel)

Sets the minimal LogLevel for which logging is enabled for the current namespace and type and all children namespaces and types.

Declaration
public void SetLevel(LogLevel level)
Parameters
Type Name Description
LogLevel level