Newer Version Available

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

DebuggingHeader

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

Calls that include DebuggingHeader are limited to 1,000 in a 24-hour period. You can continue to make these calls even after reaching the total request limit for an org.

Note

Fields

Element Name Type Description
categories LogInfo[] Specifies the type and amount of information to be returned in the debug log.
debugLevel DebugLevel (enumeration of type string)

Deprecated. This field is provided only for backward compatibility. If you provide values for both debugLevel and categories, the categories value is used.

The debugLevel field 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

LogInfo

Specifies the type and amount of information to be returned in the debug log. The categories field takes a list of these objects. LogInfo is a mapping of category to level.

Fields

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