15
15
//! will be created hourly
16
16
//! - [`Rotation::daily()`][daily]: A new log file in the format of `some_directory/log_file_name_prefix.yyyy-MM-dd`
17
17
//! will be created daily
18
- //! - [`Rotation::never()`][never]: This will result in log file located at `some_directory/log_file_name`
18
+ //! - [`Rotation::never()`][never() ]: This will result in log file located at `some_directory/log_file_name`
19
19
//!
20
20
//!
21
21
//! # Examples
@@ -42,8 +42,8 @@ use time::{format_description, Duration, OffsetDateTime, Time};
42
42
/// block on write operations. It may be used with [`NonBlocking`] to perform
43
43
/// writes without blocking the current thread.
44
44
///
45
- /// Additionally, `RollingFileAppender` also implements the [`MakeWriter`
46
- /// trait][make_writer] from `tracing-appender`, so it may also be used
45
+ /// Additionally, `RollingFileAppender` also implements the [`MakeWriter`]
46
+ /// trait from `tracing-appender`, so it may also be used
47
47
/// directly, without [`NonBlocking`].
48
48
///
49
49
/// [write]: std::io::Write
@@ -79,7 +79,7 @@ use time::{format_description, Duration, OffsetDateTime, Time};
79
79
/// # }
80
80
/// ```
81
81
///
82
- /// [make_writer] tracing_subscriber::fmt::writer::MakeWriter
82
+ /// [`MakeWriter`]: tracing_subscriber::fmt::writer::MakeWriter
83
83
#[ derive( Debug ) ]
84
84
pub struct RollingFileAppender {
85
85
state : Inner ,
@@ -119,7 +119,7 @@ impl RollingFileAppender {
119
119
/// - [`Rotation::minutely()`][minutely],
120
120
/// - [`Rotation::hourly()`][hourly],
121
121
/// - [`Rotation::daily()`][daily],
122
- /// - [`Rotation::never()`][never]
122
+ /// - [`Rotation::never()`][never() ]
123
123
///
124
124
///
125
125
/// # Examples
0 commit comments