mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 04:35:03 +01:00
version negotiation
This commit is contained in:
parent
b2e6e96698
commit
b77788329c
5 changed files with 107 additions and 8 deletions
12
src/main.rs
12
src/main.rs
|
|
@ -1,6 +1,18 @@
|
|||
use anyhow::Result;
|
||||
use tracing::Level;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
setup_tracing();
|
||||
amqp_transport::do_thing_i_guess().await
|
||||
}
|
||||
|
||||
fn setup_tracing() {
|
||||
tracing_subscriber::fmt()
|
||||
.with_level(true)
|
||||
.with_timer(tracing_subscriber::fmt::time::time())
|
||||
.with_ansi(true)
|
||||
.with_thread_names(true)
|
||||
.with_max_level(Level::DEBUG)
|
||||
.init()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue