Extra logging for aura

This commit is contained in:
Luke D. Jones
2024-03-23 11:27:20 +13:00
parent 4e778a3d28
commit 193f9dfa1e
4 changed files with 5 additions and 7 deletions
+2 -1
View File
@@ -7,7 +7,7 @@
use std::collections::HashMap;
use std::sync::Arc;
use log::{error, info, warn};
use log::{debug, error, info, warn};
use mio::{Events, Interest, Poll, Token};
use rog_aura::aura_detection::LaptopLedData;
use rog_aura::usb::AuraDevice;
@@ -146,6 +146,7 @@ impl AuraManager {
let zbus = CtrlAuraZbus::new(ctrl, sig_ctx);
// Now add it to device list
let sig_ctx = CtrlAuraZbus::signal_context(&conn_copy)?;
debug!("Starting Aura at {path}");
start_tasks(zbus, &mut conn_copy, sig_ctx, &path)
.await?;
Ok::<(), RogError>(())