Newer Version Available

This content describes an older version of this product. View Latest

DebuggingHeader

Specifies that the response will contain the debug log in the return header, and specifies the level of detail in the debug header.

Fields

Element Name Type Description
debugLevel logtype This field has been deprecated and is only provided for backwards compatibility. Specifies the type of information returned in the debug log. The values are listed from the least amount of information returned to the most information returned. Valid values include:
  • NONE
  • DEBUGONLY
  • DB
  • PROFILING
  • CALLOUT
  • DETAIL
categories LogInfo[] Specifies the type, as well as the amount of information returned in the debug log.

LogInfo

Specifies the type, as well as the amount of information, returned in the debug log. The categories field takes a list of these objects.

Fields

Element Name Type Description
LogCategory string Specify the type of information returned in the debug log. Valid values are:
  • Db
  • Workflow
  • Validation
  • Callout
  • Apex_code
  • Apex_profiling
  • All
LogCategoryLevel string Specifies the amount of information returned in the debug log. Only the Apex_code LogCategory uses the log category levels.
Valid log levels are (listed from lowest to highest):
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • FINE
  • FINER
  • FINEST