Template Function Acts::targetDebugLog

Function Documentation

template<typename propagator_state_t>
void Acts::targetDebugLog(propagator_state_t &state, const std::string &status, const std::function<std::string()> &logAction)

The debug logging for standard aborters.

It needs to be fed by a lambda function that returns a string, that guarantees that the lambda is only called in the state.options.debug == true case in order not to spend time when not needed.

Parameters
  • state: the propagator cache for the debug flag, prefix/stream

  • logAction: is a callable function that returns a streamable object