mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-31 05:42:15 +00:00
Hide all of the logger macros, for now.
This commit is contained in:
parent
d843e8354c
commit
a5599aac9c
@ -44,7 +44,7 @@ impl FromStr for LoggingLevel {
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! log_ {
|
||||
($name:ident: $format:expr) => { log_!($name: $format,) };
|
||||
($name:ident: $format:expr, $($args:expr),*) => {
|
||||
@ -52,15 +52,15 @@ macro_rules! log_ {
|
||||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! error_ { ($($args:expr),+) => { log_!(error: $($args),+); }; }
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! info_ { ($($args:expr),+) => { log_!(info: $($args),+); }; }
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! trace_ { ($($args:expr),+) => { log_!(trace: $($args),+); }; }
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! debug_ { ($($args:expr),+) => { log_!(debug: $($args),+); }; }
|
||||
#[macro_export]
|
||||
#[doc(hidden)] #[macro_export]
|
||||
macro_rules! warn_ { ($($args:expr),+) => { log_!(warn: $($args),+); }; }
|
||||
|
||||
impl Log for RocketLogger {
|
||||
|
Loading…
Reference in New Issue
Block a user