DebugHelperGetDebugLogLength Method (String, Int32) |
Returns log lenght 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.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax 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:
Int32See Also