From 9a7576fe2cdd169313b5e25be6bf485407adb496 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 7 Apr 2011 22:05:45 +0200 Subject: Move to macro-based logging checks in the C++ code No functions should be called for log statements that turn out to be inactive. --- src/rt/rust_log.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/rt/rust_log.cpp') diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index bcd40c364b5..3017b549263 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -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++; -- cgit 1.4.1-3-g733a5