mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
udp load test: enable log crate logging
This commit is contained in:
parent
57896f4648
commit
6eaac536ba
2 changed files with 8 additions and 1 deletions
|
|
@ -31,7 +31,11 @@ pub fn main() {
|
|||
)
|
||||
}
|
||||
|
||||
impl aquatic_cli_helpers::Config for Config {}
|
||||
impl aquatic_cli_helpers::Config for Config {
|
||||
fn get_log_level(&self) -> Option<aquatic_cli_helpers::LogLevel> {
|
||||
Some(self.log_level)
|
||||
}
|
||||
}
|
||||
|
||||
fn run(config: Config) -> ::anyhow::Result<()> {
|
||||
if config.handler.weight_announce + config.handler.weight_connect + config.handler.weight_scrape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue