File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -449,13 +449,13 @@ pub struct PriorityMappings {
449
449
}
450
450
451
451
impl PriorityMappings {
452
- /// Create new default mappings:
452
+ /// Returns the default priority mappings:
453
453
///
454
- /// - `tracing::Level::ERROR`: Error (3)
455
- /// - `tracing::Level::WARN`: Warning (4)
456
- /// - `tracing::Level::INFO`: Notice (5)
457
- /// - `tracing::Level::DEBUG`: Informational (6)
458
- /// - `tracing::Level::TRACE`: Debug (7)
454
+ /// - [ `tracing::Level::ERROR`]: [`Priority:: Error`] (3)
455
+ /// - [ `tracing::Level::WARN`]: [`Priority:: Warning`] (4)
456
+ /// - [ `tracing::Level::INFO`]: [`Priority:: Notice`] (5)
457
+ /// - [ `tracing::Level::DEBUG`]: [`Priority:: Informational`] (6)
458
+ /// - [ `tracing::Level::TRACE`]: [`Priority:: Debug`] (7)
459
459
pub fn new ( ) -> PriorityMappings {
460
460
Self {
461
461
error : Priority :: Error ,
You can’t perform that action at this time.
0 commit comments