PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends Namespace / Meta­Logging­Backend Class / Meta­Logging­Backend Constructor / Meta­Logging­Backend Constructor (Boolean, Boolean)

MetaLoggingBackend Constructor (Boolean, Boolean)

Initializes a new MetaLoggingBackend and specifies whether it must write to the console and to the debugger.

Namespace:  PostSharp.Patterns.Diagnostics.Backends
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public MetaLoggingBackend(
	bool toConsole,
	bool toDebugger
)

Parameters

toConsole
Type: System.Boolean
toDebugger
Type: System.Boolean
See Also