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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user