|
1 | 1 | //! A rolling file appender. |
2 | 2 | //! |
3 | | -//! Creates a new log file at a fixed frequency as defined by [`Rotation`][self::Rotation]. |
| 3 | +//! Creates a new log file at a fixed frequency as defined by [`Rotation`]. |
4 | 4 | //! Logs will be written to this file for the duration of the period and will automatically roll over |
5 | 5 | //! to the newly created log file once the time period has elapsed. |
6 | 6 | //! |
@@ -116,9 +116,9 @@ impl RollingFileAppender { |
116 | 116 | /// Creates a new `RollingFileAppender`. |
117 | 117 | /// |
118 | 118 | /// A `RollingFileAppender` will have a fixed rotation whose frequency is |
119 | | - /// defined by [`Rotation`][self::Rotation]. The `directory` and |
120 | | - /// `file_name_prefix` arguments determine the location and file name's _prefix_ |
121 | | - /// of the log file. `RollingFileAppender` will automatically append the current date |
| 119 | + /// defined by [`Rotation`]. The `directory` and `file_name_prefix` |
| 120 | + /// arguments determine the location and file name's _prefix_ of the log |
| 121 | + /// file. `RollingFileAppender` will automatically append the current date |
122 | 122 | /// and hour (UTC format) to the file name. |
123 | 123 | /// |
124 | 124 | /// Alternatively, a `RollingFileAppender` can be constructed using one of the following helpers: |
@@ -340,9 +340,9 @@ pub fn hourly( |
340 | 340 | /// a non-blocking, daily file appender. |
341 | 341 | /// |
342 | 342 | /// A `RollingFileAppender` has a fixed rotation whose frequency is |
343 | | -/// defined by [`Rotation`][self::Rotation]. The `directory` and |
344 | | -/// `file_name_prefix` arguments determine the location and file name's _prefix_ |
345 | | -/// of the log file. `RollingFileAppender` automatically appends the current date in UTC. |
| 343 | +/// defined by [`Rotation`]. The `directory` and `file_name_prefix` |
| 344 | +/// arguments determine the location and file name's _prefix_ of the log file. |
| 345 | +/// `RollingFileAppender` automatically appends the current date in UTC. |
346 | 346 | /// |
347 | 347 | /// # Examples |
348 | 348 | /// |
@@ -376,9 +376,9 @@ pub fn daily( |
376 | 376 | /// a non-blocking, weekly file appender. |
377 | 377 | /// |
378 | 378 | /// A `RollingFileAppender` has a fixed rotation whose frequency is |
379 | | -/// defined by [`Rotation`][self::Rotation]. The `directory` and |
380 | | -/// `file_name_prefix` arguments determine the location and file name's _prefix_ |
381 | | -/// of the log file. `RollingFileAppender` automatically appends the current date in UTC. |
| 379 | +/// defined by [`Rotation`]. The `directory` and `file_name_prefix` arguments |
| 380 | +/// determine the location and file name's _prefix_ of the log file. |
| 381 | +/// `RollingFileAppender` automatically appends the current date in UTC. |
382 | 382 | /// |
383 | 383 | /// # Examples |
384 | 384 | /// |
|
0 commit comments