Skip to content

Commit

Permalink
fix: broken link in docs pointing to DEFAULT_LOG_FILE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
enigbe committed Jan 29, 2025
1 parent 7582527 commit 241bfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ enum LogWriterConfig {
///
/// This specifies the log file path if a destination other than the storage
/// directory, i.e. [`Config::storage_dir_path`], is preferred. If unconfigured,
/// defaults to [`DEFAULT_LOG_FILENAME`] in default storage directory.
/// defaults to [`DEFAULT_LOG_FILE_PATH`] in default storage directory.
log_file_path: Option<String>,
/// This specifies the log level.
///
Expand Down Expand Up @@ -349,7 +349,7 @@ impl NodeBuilder {

/// Configures the [`Node`] instance to write logs to the filesystem.
///
/// The `log_file_path` defaults to the [`DEFAULT_LOG_FILENAME`] in the default
/// The `log_file_path` defaults to the [`DEFAULT_LOG_FILE_PATH`] in the default
/// storage directory if set to None.
/// The `log_level` defaults to [`DEFAULT_LOG_LEVEL`] if set to None.
pub fn set_filesystem_logger(
Expand Down

0 comments on commit 241bfcc

Please sign in to comment.