feat: tracing is now optional
This commit is contained in:
parent
14d1555fc1
commit
f65e240e92
26 changed files with 184 additions and 45 deletions
|
|
@ -67,7 +67,10 @@ fn dyn_block_end_node(input: Input) -> IResult<Input, GreenElement, ()> {
|
|||
Ok((input, b.finish(DYN_BLOCK_END)))
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "debug", skip(input), fields(input = input.s))]
|
||||
#[cfg_attr(
|
||||
feature = "tracing",
|
||||
tracing::instrument(level = "debug", skip(input), fields(input = input.s))
|
||||
)]
|
||||
pub fn dyn_block_node(input: Input) -> IResult<Input, GreenElement, ()> {
|
||||
crate::lossless_parser!(dyn_block_node_base, input)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue