about summary refs log tree commit diff
path: root/src/rt/rust_log.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-04-07 22:05:45 +0200
committerGraydon Hoare <graydon@mozilla.com>2011-04-07 15:15:30 -0700
commit9a7576fe2cdd169313b5e25be6bf485407adb496 (patch)
tree36f5c9a5baaae95be1fb3cdc9b5b76814b08e803 /src/rt/rust_log.cpp
parent6dcf6218b1e0e70e60afe8d1a9f336adad060362 (diff)
downloadrust-9a7576fe2cdd169313b5e25be6bf485407adb496.tar.gz
rust-9a7576fe2cdd169313b5e25be6bf485407adb496.zip
Move to macro-based logging checks in the C++ code
No functions should be called for log statements that turn out to be
inactive.
Diffstat (limited to 'src/rt/rust_log.cpp')
-rw-r--r--src/rt/rust_log.cpp5
1 files changed, 0 insertions, 5 deletions
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++;