Skip to content

Commit

Permalink
changed logging group names
Browse files Browse the repository at this point in the history
  • Loading branch information
F0903 committed Sep 10, 2024
1 parent 82a20d7 commit 83ebac3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autopower_proxy/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::{
io::{BufReader, BufWriter, Write},
};

const LOGGER: Logger = Logger::new("power_config", "autopower");
const LOGGER: Logger = Logger::new("power_config", "autopower_proxy");

#[derive(Serialize, Deserialize, Debug)]
pub struct PowerConfig {
Expand Down
2 changes: 1 addition & 1 deletion autopower_proxy/src/display/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use windows::{
},
};

const LOGGER: Logger = Logger::new("display", "autopower");
const LOGGER: Logger = Logger::new("display", "autopower_proxy");

fn get_primary_display_adapter() -> Result<DISPLAY_DEVICEW> {
let mut display_adapter = DISPLAY_DEVICEW::default();
Expand Down
2 changes: 1 addition & 1 deletion src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use autopower_shared::{

type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;

const LOGGER: Logger = Logger::new("notifications", "autopower");
const LOGGER: Logger = Logger::new("proxy", "autopower");

pub struct Proxy {
pipe: Pipe<Server, Write>,
Expand Down

0 comments on commit 83ebac3

Please sign in to comment.