Skip to content

Commit

Permalink
Implement tracing-log on core dynamic metadata
Browse files Browse the repository at this point in the history
And now we reach the point of this commit series. tracing-log is now
capable of implementing its dynamic metadata resolution on solely
publicly available APIs*, and thus so can anyone else do the same.

*Dispatch still uses #[doc(hidden)] APIs to create the value set.
Figuring out how to best expose is still an open question.
  • Loading branch information
CAD97 committed Feb 5, 2023
1 parent 1ad1539 commit 9763bdc
Show file tree
Hide file tree
Showing 9 changed files with 138 additions and 304 deletions.
2 changes: 1 addition & 1 deletion tracing-core/src/dynamic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ macro_rules! __tracing_core_ensure_safe_name {
};
}

#[macro_export]
/// Construct [`Metadata`] used for [dynamic resolution][crate::dynamic].
///
/// # Examples
Expand Down Expand Up @@ -358,6 +357,7 @@ macro_rules! __tracing_core_ensure_safe_name {
/// $($field:ident,)*
/// # } => {}}
/// ```
#[macro_export]
macro_rules! dynamic_metadata {
// === base case ===
{@{
Expand Down
Loading

0 comments on commit 9763bdc

Please sign in to comment.