Click or drag to resize
DebugSettings Class
Container for the particular debug settings
Inheritance Hierarchy
SystemObject
  CMS.BaseDebugSettings

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public class DebugSettings

The DebugSettings type exposes the following members.

Constructors
  NameDescription
Public methodDebugSettings
Constructor
Top
Methods
  NameDescription
Public methodGetLogFolder
File path, to which the debug logs operations
Public methodResetSettings
Sets all the debug settings to null and causes them to be reloaded.
Public methodWriteRequestLog
Writes the request log to the log file.
Public methodWriteToLogFile
Writes the given
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyAll
Debug on all pages, including the UI and preview pages.
Public propertyCurrentIndent
Gets or sets current indentation of the debug
Public propertyDebugKey
Debug settings key to access the RequestDebugs flags
Public propertyDurationColumn
Column in the log containing the duration of the operation
Public propertyEnabled
If true, the debug is enabled
Public propertyFinalizeData
Method that finalizes the data prior the reporting
Public propertyLastLogs
Last requests query logs, contains the arrays of [URL, SecurityLog, Time].
Public propertyLive
If true, the live pages are debugged
Public propertyLogControl
Log control that displays the debug log
Public propertyLogLength
Maximum length of the log in number of requests.
Public propertyLogOperations
Returns true, if the debug is allowed to log the operations, either to file or to debug tables
Public propertyLogToFile
If true, the debug logs operations to physical file?
Public propertyName
Name of the debug
Public propertyRequestLog
Current request query log.
Public propertySizeColumn
Column in the log containing the data size in the operation
Public propertyStack
Track stack when debugging.
Top
See Also