chore(util/debug): remove logtree dependency

This commit is contained in:
Leonardo de Moura 2018-05-14 11:09:07 -07:00
parent 4fa1022388
commit 095d100a38

View file

@ -18,7 +18,7 @@ Author: Leonardo de Moura
#include<unistd.h>
#endif
#include "util/debug.h"
#include "util/log_tree.h"
// #include "util/log_tree.h"
namespace lean {
static volatile bool g_has_violations = false;
@ -49,8 +49,8 @@ void notify_assertion_violation(const char * fileName, int line, const char * co
std::cerr << "LEAN ASSERTION VIOLATION\n";
std::cerr << "File: " << fileName << "\n";
std::cerr << "Line: " << line << "\n";
if (has_logtree())
std::cerr << "Task: " << logtree().get_location().m_file_name << ": " << logtree().get_description() << "\n";
// if (has_logtree())
// std::cerr << "Task: " << logtree().get_location().m_file_name << ": " << logtree().get_description() << "\n";
std::cerr << condition << "\n";
std::cerr.flush();
}