mirror of
https://github.com/Z3Prover/z3
synced 2025-08-01 17:03:18 +00:00
fix log in release mode
This commit is contained in:
parent
67a4480410
commit
0704f90e9f
2 changed files with 5 additions and 2 deletions
|
@ -25,7 +25,7 @@ Other:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TODO: add "conditional" logs, i.e., the messages are held back and only printed when a non-conditional message is logged.
|
TODO: add deferred logs, i.e., the messages are held back and only printed when a non-conditional message is logged.
|
||||||
Purpose: reduce noise, e.g., when printing prerequisites for transformations that do not always apply.
|
Purpose: reduce noise, e.g., when printing prerequisites for transformations that do not always apply.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,10 @@ polysat_log(LogLevel msg_level, std::string fn, std::string pretty_fn);
|
||||||
|
|
||||||
inline void set_log_enabled(bool) {}
|
inline void set_log_enabled(bool) {}
|
||||||
inline bool get_log_enabled() { return false; }
|
inline bool get_log_enabled() { return false; }
|
||||||
class scoped_set_log_enabled {};
|
class scoped_set_log_enabled {
|
||||||
|
public:
|
||||||
|
scoped_set_log_enabled(bool) {}
|
||||||
|
};
|
||||||
|
|
||||||
#define LOG_(vlvl, lvl, x) \
|
#define LOG_(vlvl, lvl, x) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue