Skip to content

setContextForKeyEvent (Log Application Performance)

Compatible with:
  • Purpose
  • This command is used within the timerForKeyEventBlockStart and timerForKeyEventBlockEnd to set the context of the key event.

    The context is defined using a name you assign to the key event along with the 'column' in the data set (actually the 'attribute' name within the data definition that defines the data set) you want the timing metric persisted into.
  • Syntax
  • setContextForKeyEvent(keyEventName, attribute-name)
  • Target
  • KeyEventName
  • Value
  • attribute-name
  • Return Value
  • N/A

Feedback and Knowledge Base