|
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 | //! [minutely]: fn.minutely.html
|
21 | 21 | //! [hourly]: fn.hourly.html
|
@@ -46,8 +46,8 @@ use time::{format_description, Duration, OffsetDateTime, Time};
|
46 | 46 | /// block on write operations. It may be used with [`NonBlocking`] to perform
|
47 | 47 | /// writes without blocking the current thread.
|
48 | 48 | ///
|
49 |
| -/// Additionally, `RollingFileAppender` also implements the [`MakeWriter` |
50 |
| -/// trait][make_writer] from `tracing-appender`, so it may also be used |
| 49 | +/// Additionally, `RollingFileAppender` also implements the [`MakeWriter`] |
| 50 | +/// trait from `tracing-appender`, so it may also be used |
51 | 51 | /// directly, without [`NonBlocking`].
|
52 | 52 | ///
|
53 | 53 | /// [write]: std::io::Write
|
@@ -83,7 +83,7 @@ use time::{format_description, Duration, OffsetDateTime, Time};
|
83 | 83 | /// # }
|
84 | 84 | /// ```
|
85 | 85 | ///
|
86 |
| -/// [make_writer] tracing_subscriber::fmt::writer::MakeWriter |
| 86 | +/// [`MakeWriter`]: tracing_subscriber::fmt::writer::MakeWriter |
87 | 87 | #[derive(Debug)]
|
88 | 88 | pub struct RollingFileAppender {
|
89 | 89 | state: Inner,
|
@@ -123,7 +123,7 @@ impl RollingFileAppender {
|
123 | 123 | /// - [`Rotation::minutely()`][minutely],
|
124 | 124 | /// - [`Rotation::hourly()`][hourly],
|
125 | 125 | /// - [`Rotation::daily()`][daily],
|
126 |
| - /// - [`Rotation::never()`][never] |
| 126 | + /// - [`Rotation::never()`][never()] |
127 | 127 | ///
|
128 | 128 | /// [minutely]: fn.minutely.html
|
129 | 129 | /// [hourly]: fn.hourly.html
|
|
0 commit comments