PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets or sets the debug level setting. Can be used in test- and development scenarios to output debug info. If debugging is disabled in the smartsite.config, 0 is returned.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.Level")]
public static <int> DebugLevel(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.Level")> _
Public Shared Function DebugLevel ( _
	context As  _
) As (Of Integer)

Parameters

context
IRenderContext
The context.

Return Value

The current debug level.

See Also

Advanced