Commit 7841f49 1 parent afc7826 commit 7841f49 Copy full SHA for 7841f49
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ const CRATES_AT_INFO_LEVEL: &[&str] = &[
94
94
/// Web: `debug` since web console allows arbitrary filtering.
95
95
#[ cfg( not( target_arch = "wasm32" ) ) ]
96
96
pub fn default_log_filter ( ) -> String {
97
- let base_log_filter = if cfg ! ( debug_assertions) {
97
+ let base_log_filter = if false {
98
+ //cfg!(debug_assertions) {
98
99
"debug"
99
100
} else {
100
101
// Important to keep the default at (at least) "info",
@@ -113,7 +114,7 @@ pub fn default_log_filter() -> String {
113
114
/// Web: `debug` since web console allows arbitrary filtering.
114
115
#[ cfg( target_arch = "wasm32" ) ]
115
116
pub fn default_log_filter ( ) -> String {
116
- "debug" . to_string ( )
117
+ "debug" . to_owned ( )
117
118
}
118
119
119
120
/// Determines the log filter from the `RUST_LOG` environment variable or an explicit default.
You can’t perform that action at this time.
0 commit comments