Method: Hoss.set_custom_context

Defined in:
lib/hoss-agent.rb

.set_custom_context(custom) ⇒ Hash

Provide further context for the current transaction

Parameters:

  • custom (Hash)

    A hash with custom information. Can be nested.

Returns:

  • (Hash)

    The current custom context



184
185
186
# File 'lib/hoss-agent.rb', line 184

def set_custom_context(custom)
  agent&.set_custom_context(custom)
end