mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 23:11:44 +01:00
make config logs more subtle
This commit is contained in:
parent
c25ebcaea7
commit
b56fcbb519
@ -1,7 +1,7 @@
|
|||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use std::collections::{HashMap, HashSet};
|
use std::collections::{HashMap, HashSet};
|
||||||
|
|
||||||
use colour::{green_ln, magenta_ln, yellow_ln};
|
use colour::{dark_grey_ln, magenta_ln};
|
||||||
use lazy_static::*;
|
use lazy_static::*;
|
||||||
use rumqttc::{AsyncClient, EventLoop, MqttOptions, QoS};
|
use rumqttc::{AsyncClient, EventLoop, MqttOptions, QoS};
|
||||||
use state::{Announcer, Listener, State};
|
use state::{Announcer, Listener, State};
|
||||||
@ -48,9 +48,7 @@ fn print_config() {
|
|||||||
let slaves_by_master: &HashMap<_, _> = &SLAVES_BY_MASTER;
|
let slaves_by_master: &HashMap<_, _> = &SLAVES_BY_MASTER;
|
||||||
let slave_properties: &HashMap<_, _> = &SLAVE_PROPERTIES;
|
let slave_properties: &HashMap<_, _> = &SLAVE_PROPERTIES;
|
||||||
let machine_ids: &HashMap<_, _> = &MACHINE_IDS;
|
let machine_ids: &HashMap<_, _> = &MACHINE_IDS;
|
||||||
yellow_ln!("{slaves_by_master:#?}");
|
dark_grey_ln!("{slaves_by_master:#?}{slave_properties:#?}{machine_ids:#?}");
|
||||||
green_ln!("{slave_properties:#?}");
|
|
||||||
yellow_ln!("{machine_ids:#?}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn create_client() -> (AsyncClient, EventLoop) {
|
async fn create_client() -> (AsyncClient, EventLoop) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user