mirror of https://gitee.com/bigwinds/arangodb
removed unused function
This commit is contained in:
parent
657ac8d50f
commit
5964ecb005
|
@ -64,8 +64,6 @@
|
|||
#include <iosfwd>
|
||||
#include <sstream>
|
||||
|
||||
static inline bool TRI_ShutdownLogging(bool) { return true; } // TODO(fc) remove
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief maximal number of log topics
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
using namespace arangodb;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief a global string containing the currently registered failure points
|
||||
/// the string is a comma-separated list of point names
|
||||
|
@ -90,7 +92,7 @@ static char* MakeValue(char const* value) {
|
|||
void TRI_SegfaultDebugging(char const* message) {
|
||||
LOG(WARN) << "" << message << ": summon Baal!";
|
||||
// make sure the latest log messages are flushed
|
||||
TRI_ShutdownLogging(true);
|
||||
Logger::shutdown(true);
|
||||
|
||||
// and now crash
|
||||
#ifndef __APPLE__
|
||||
|
|
Loading…
Reference in New Issue