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:
Marijn Haverbeke 2011-04-07 22:05:45 +02:00 committed by Graydon Hoare
parent 6dcf6218b1
commit 9a7576fe2c
18 changed files with 254 additions and 237 deletions

View file

@ -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++;