2015-11-18 20:59:53 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#include "library/blast/action_result.h"
|
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
namespace blast {
|
2015-11-19 03:12:29 +00:00
|
|
|
void trace_curr_state();
|
2015-11-18 20:59:53 +00:00
|
|
|
void trace(char const * msg);
|
|
|
|
void trace_action(char const * a);
|
2015-11-19 03:12:29 +00:00
|
|
|
void trace_curr_state_if(action_result r);
|
2015-11-18 20:59:53 +00:00
|
|
|
bool is_trace_enabled();
|
|
|
|
class scope_trace {
|
|
|
|
bool m_old;
|
|
|
|
public:
|
|
|
|
scope_trace(options const & o);
|
|
|
|
scope_trace(bool enable);
|
|
|
|
~scope_trace();
|
|
|
|
};
|
|
|
|
}}
|