1
0
Fork 0

removed unused function

This commit is contained in:
Jan Steemann 2016-02-04 11:10:42 +01:00
parent 657ac8d50f
commit 5964ecb005
2 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,6 @@
#include <iosfwd> #include <iosfwd>
#include <sstream> #include <sstream>
static inline bool TRI_ShutdownLogging(bool) { return true; } // TODO(fc) remove
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief maximal number of log topics /// @brief maximal number of log topics
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -39,6 +39,8 @@
#endif #endif
#endif #endif
using namespace arangodb;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief a global string containing the currently registered failure points /// @brief a global string containing the currently registered failure points
/// the string is a comma-separated list of point names /// 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) { void TRI_SegfaultDebugging(char const* message) {
LOG(WARN) << "" << message << ": summon Baal!"; LOG(WARN) << "" << message << ": summon Baal!";
// make sure the latest log messages are flushed // make sure the latest log messages are flushed
TRI_ShutdownLogging(true); Logger::shutdown(true);
// and now crash // and now crash
#ifndef __APPLE__ #ifndef __APPLE__