Allow log level to be configured (#58)

This commit is contained in:
Ulyssa 2023-03-13 16:10:28 -07:00
parent db35581d07
commit 14fe916d94
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
3 changed files with 49 additions and 2 deletions

View file

@ -17,6 +17,7 @@ use matrix_sdk::ruma::{
use lazy_static::lazy_static;
use modalkit::tui::style::{Color, Style};
use tokio::sync::mpsc::unbounded_channel;
use tracing::Level;
use url::Url;
use crate::{
@ -171,6 +172,7 @@ pub fn mock_dirs() -> DirectoryValues {
pub fn mock_tunables() -> TunableValues {
TunableValues {
default_room: None,
log_level: Level::INFO,
reaction_display: true,
reaction_shortcode_display: false,
read_receipt_send: true,