Better logging with plugin fix
This commit is contained in:
+5
-5
@@ -17,17 +17,17 @@ macro_rules! export_plugin {
|
||||
#[macro_export]
|
||||
macro_rules! logger {
|
||||
(const $i:ident $name:expr) => {
|
||||
const $i: once_cell::sync::Lazy<$crate::logger::Logger> =
|
||||
once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name));
|
||||
const $i: $crate::once_cell::sync::Lazy<$crate::logger::Logger> =
|
||||
$crate::once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name));
|
||||
};
|
||||
|
||||
($i:ident $name:expr) => {
|
||||
const $i: once_cell::sync::Lazy<$crate::logger::Logger> =
|
||||
once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name));
|
||||
const $i: $crate::once_cell::sync::Lazy<$crate::logger::Logger> =
|
||||
$crate::once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name));
|
||||
};
|
||||
|
||||
(const $name:expr) => {
|
||||
once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name))
|
||||
$crate::once_cell::sync::Lazy::new(|| $crate::logger::Logger::new($name))
|
||||
};
|
||||
|
||||
($name:expr) => {
|
||||
|
||||
Reference in New Issue
Block a user