Add a "special" rust_log flag to be used for debugging in cases where the full log output prevents races from occurring.

This commit is contained in:
Michael Bebenita 2010-08-17 23:30:10 -07:00
parent e20752de68
commit 9fa2b53d8c
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ read_type_bit_mask() {
bits |= strstr(env_str, "timer") ? rust_log::TIMER : 0;
bits |= strstr(env_str, "gc") ? rust_log::GC : 0;
bits |= strstr(env_str, "stdlib") ? rust_log::STDLIB : 0;
bits |= strstr(env_str, "special") ? rust_log::SPECIAL : 0;
bits |= strstr(env_str, "all") ? rust_log::ALL : 0;
bits = strstr(env_str, "none") ? 0 : bits;
}