DebuggingHeader

Return the debug log in the output header, DebuggingInfo, and specify the level of detail in the debug log.

Fields

Element Name Type Description
debugLevel logtype
Note

Note

Don’t use this field, because it’s been deprecated and is only provided for backwards compatibility with older versions.

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:

  • NONE
  • DEBUGONLY
  • DB
  • PROFILING
  • CALLOUT
  • DETAIL
categories LogInfo[] Specifies the type and amount of information to be returned in the debug log.

LogInfo

Specifies the type and amount of information to be 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 level of detail returned in the debug log. Only the Apex_code LogCategory uses the log category levels.
Valid log levels are (listed from lowest to highest):
  • NONE
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • FINE
  • FINER
  • FINEST
Previous
Next