Open sandboxFocus

Property AllowDynamicEnabling

AllowDynamicEnabling

Determines whether logging can be dynamically enabled or disabled after initialization. The default value of this property is true. When it is set to false, PostSharp generates code that allows the JIT compiler to completely remove logging instructions for types that are not enabled.

Declaration
public bool AllowDynamicEnabling { get; set; }
Property Value
Type Description
bool