Introduced "pot" concept for isolating different apps' elements from each other. Removed tracing_setup
macro since it disabled most logging output
This commit is contained in:
parent
4f8d6ec3d0
commit
a768ce0f4e
17 changed files with 424 additions and 41 deletions
|
@ -2,15 +2,3 @@ pub mod api;
|
|||
pub mod messages;
|
||||
pub mod peer;
|
||||
pub mod types;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! tracing_setup {
|
||||
($level:expr) => {
|
||||
let _tracing_default_guard = tracing::subscriber::set_default(
|
||||
tracing_subscriber::fmt()
|
||||
.pretty()
|
||||
.with_max_level($level)
|
||||
.finish(),
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue