Commit 7f35acd23c
Unsigned
Layout: unified · split
src/lib.rs +4 −1
| @@ -115,7 +115,10 @@ impl WeechatPlugin for Matrix { | |||
| 115 | Weechat::new_bar_item("matrix_modes", servers.clone())?; | 115 | Weechat::new_bar_item("matrix_modes", servers.clone())?; |
| 116 | 116 | ||
| 117 | // TODO make this configurable. | 117 | // TODO make this configurable. |
| 118 | tracing_subscriber::fmt().with_writer(debug::Debug).init(); | 118 | tracing_subscriber::fmt() |
| 119 | .with_writer(debug::Debug) | ||
| 120 | .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) | ||
| 121 | .init(); | ||
| 119 | 122 | ||
| 120 | { | 123 | { |
| 121 | let config_borrow = config.borrow(); | 124 | let config_borrow = config.borrow(); |