Click or drag to resize
DebugHelperGetDebugLogLength Method (String, Int32)
Returns log length of given debug (looks first to the settings, if the value is not defined, takes value from web.config, if not defined even in web.config, returns 10 as default value).

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
public static int GetDebugLogLength(
	string keyName,
	int defaultValue
)

Parameters

keyName
Type: SystemString
Name of the setting
defaultValue
Type: SystemInt32
Web.config default value

Return Value

Type: Int32
See Also