mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-11 17:58:52 -05:00
tracing capture interface
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
1bb4021b90
commit
aa34021b27
15 changed files with 284 additions and 27 deletions
|
|
@ -1,13 +1,19 @@
|
|||
pub mod capture;
|
||||
pub mod color;
|
||||
pub mod fmt;
|
||||
mod reload;
|
||||
mod server;
|
||||
|
||||
pub use reload::ReloadHandle;
|
||||
pub use reload::LogLevelReloadHandles;
|
||||
pub use capture::Capture;
|
||||
pub use reload::{LogLevelReloadHandles, ReloadHandle};
|
||||
pub use server::Server;
|
||||
pub use tracing::Level;
|
||||
pub use tracing_core::{Event, Metadata};
|
||||
|
||||
// Wraps for logging macros. Use these macros rather than extern tracing:: or log:: crates in
|
||||
// project code. ::log and ::tracing can still be used if necessary but discouraged. Remember
|
||||
// debug_ log macros are also exported to the crate namespace like these.
|
||||
// Wraps for logging macros. Use these macros rather than extern tracing:: or
|
||||
// log:: crates in project code. ::log and ::tracing can still be used if
|
||||
// necessary but discouraged. Remember debug_ log macros are also exported to
|
||||
// the crate namespace like these.
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue