Do not include context in tracing.
This commit is contained in:
@@ -29,7 +29,7 @@ use crate::parser::util::exit_matcher_parser;
|
||||
use crate::parser::util::start_of_line;
|
||||
use crate::types::Paragraph;
|
||||
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug", skip(context)))]
|
||||
pub(crate) fn paragraph<'b, 'g, 'r, 's>(
|
||||
context: RefContext<'b, 'g, 'r, 's>,
|
||||
input: OrgSource<'s>,
|
||||
@@ -71,7 +71,7 @@ pub(crate) fn paragraph<'b, 'g, 'r, 's>(
|
||||
))
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug", skip(context)))]
|
||||
fn paragraph_end<'b, 'g, 'r, 's>(
|
||||
context: RefContext<'b, 'g, 'r, 's>,
|
||||
input: OrgSource<'s>,
|
||||
|
||||
Reference in New Issue
Block a user