@brief Overrides default crash handler and installs custom handler. @param crashHandler A functor with no return type that takes single int argument. Handler is a typedef with specification: void (*Handler)(int)
| 3712 | /// @param crashHandler A functor with no return type that takes single int argument. |
| 3713 | /// Handler is a typedef with specification: void (*Handler)(int) |
| 3714 | static inline void setCrashHandler(const el::base::debug::CrashHandler::Handler& crashHandler) { |
| 3715 | el::elCrashHandler.setHandler(crashHandler); |
| 3716 | } |
| 3717 | /// @brief Abort due to crash with signal in parameter |
| 3718 | /// @param sig Crash signal |
| 3719 | static void crashAbort(int sig, const char* sourceFile = "", unsigned int long line = 0); |
nothing calls this directly
no test coverage detected