mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-01 00:42:15 +00:00
refactor: build and move comment and matcher crates to analysis crate (#1223)
This commit is contained in:
parent
1979469f28
commit
0f588c99d7
12 changed files with 155 additions and 44 deletions
|
@ -135,20 +135,7 @@ pub trait StatefulRequest {
|
|||
) -> Option<Self::Response>;
|
||||
}
|
||||
|
||||
/// Completely disabled log
|
||||
#[macro_export]
|
||||
macro_rules! log_debug_ct {
|
||||
// debug!(target: "my_target", key1 = 42, key2 = true; "a {} event", "log")
|
||||
// debug!(target: "my_target", "a {} event", "log")
|
||||
(target: $target:expr, $($arg:tt)+) => {
|
||||
let _ = format_args!($target, $($arg)+);
|
||||
};
|
||||
|
||||
// debug!("a {} event", "log")
|
||||
($($arg:tt)+) => {
|
||||
let _ = format_args!($($arg)+);
|
||||
};
|
||||
}
|
||||
use tinymist_analysis::log_debug_ct;
|
||||
|
||||
#[allow(missing_docs)]
|
||||
mod polymorphic {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue