MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / installPreRollOutCallback

Method installPreRollOutCallback

include/thundersvm/util/log.h:3730–3732  ·  view source on GitHub ↗

defined(ELPP_FEATURE_ALL) || defined(ELPP_FEATURE_CRASH_LOG) @brief Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up)

Source from the content-addressed store, hash-verified

3728 /// @brief Installs pre rollout callback, this callback is triggered when log file is about to be rolled out
3729 /// (can be useful for backing up)
3730 static inline void installPreRollOutCallback(const PreRollOutCallback& callback) {
3731 ELPP->setPreRollOutCallback(callback);
3732 }
3733 /// @brief Uninstalls pre rollout callback
3734 static inline void uninstallPreRollOutCallback(void) {
3735 ELPP->unsetPreRollOutCallback();

Callers

nothing calls this directly

Calls 1

setPreRollOutCallbackMethod · 0.80

Tested by

no test coverage detected