Template Function Acts::targetDebugLog¶
Defined in File StandardAborters.hpp
Function Documentation¶
-
template<typename
propagator_state_t
>
voidActs
::
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/streamlogAction
: is a callable function that returns a streamable object