Move to macro-based logging checks in the C++ code
No functions should be called for log statements that turn out to be inactive.
This commit is contained in:
parent
6dcf6218b1
commit
9a7576fe2c
18 changed files with 254 additions and 237 deletions
|
@ -204,11 +204,6 @@ rust_log::trace_ln(rust_task *task, ansi_color color,
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
rust_log::is_tracing(uint32_t type_bits) {
|
||||
return type_bits & _type_bit_mask;
|
||||
}
|
||||
|
||||
void
|
||||
rust_log::indent() {
|
||||
_indent++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue