DebuggingHeader

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

API Calls

compileAndTest()executeanonymous()runTests()

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_codeLogCategory uses the log category levels.
Valid log levels are (listed from lowest to highest):
  • ERROR
  • WARN
  • INFO
  • DEBUG
  • FINE
  • FINER
  • FINEST
© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.