feat: introduce logging in some areas

This commit is contained in:
Jake Stanger
2022-08-25 21:53:57 +01:00
parent 6dcae66570
commit 1e38719996
4 changed files with 15 additions and 0 deletions

View File

@@ -133,6 +133,7 @@ impl SwayClient {
}
pub fn ipc(&mut self, command: IpcCommand) -> Result<Vec<u8>> {
debug!("Sending command: {:?}", command);
match self.client.ipc(command) {
Ok(res) => Ok(res),
Err(err) => Err(get_client_error(err)),