@@ -334,8 +334,8 @@ impl NodeBuilder {
334334 /// The `log_file_path` defaults to [`DEFAULT_LOG_FILENAME`] in the configured
335335 /// [`Config::storage_dir_path`] if set to `None`.
336336 ///
337- /// If set, The `max_log_level` sets the maximum log level. Otherwise, the latter defaults
338- /// defaults to [`DEFAULT_LOG_LEVEL`].
337+ /// If set, the `max_log_level` sets the maximum log level. Otherwise, the latter defaults to
338+ /// [`DEFAULT_LOG_LEVEL`].
339339 ///
340340 /// [`DEFAULT_LOG_FILENAME`]: crate::config::DEFAULT_LOG_FILENAME
341341 pub fn set_filesystem_logger (
@@ -347,8 +347,8 @@ impl NodeBuilder {
347347
348348 /// Configures the [`Node`] instance to write logs to the [`log`](https://crates.io/crates/log) facade.
349349 ///
350- /// If set, The `max_log_level` sets the maximum log level. Otherwise, the latter defaults
351- /// defaults to [`DEFAULT_LOG_LEVEL`].
350+ /// If set, the `max_log_level` sets the maximum log level. Otherwise, the latter defaults to
351+ /// [`DEFAULT_LOG_LEVEL`].
352352 pub fn set_log_facade_logger ( & mut self , max_log_level : LogLevel ) -> & mut Self {
353353 self . log_writer_config = Some ( LogWriterConfig :: Log ( max_log_level) ) ;
354354 self
@@ -665,7 +665,9 @@ impl ArcedNodeBuilder {
665665 ///
666666 /// The `log_file_path` defaults to [`DEFAULT_LOG_FILENAME`] in the configured
667667 /// [`Config::storage_dir_path`] if set to `None`.
668- /// The `log_level` defaults to [`DEFAULT_LOG_LEVEL`] if set to `None`.
668+ ///
669+ /// If set, the `max_log_level` sets the maximum log level. Otherwise, the latter defaults to
670+ /// [`DEFAULT_LOG_LEVEL`].
669671 ///
670672 /// [`DEFAULT_LOG_FILENAME`]: crate::config::DEFAULT_LOG_FILENAME
671673 pub fn set_filesystem_logger (
@@ -675,6 +677,9 @@ impl ArcedNodeBuilder {
675677 }
676678
677679 /// Configures the [`Node`] instance to write logs to the [`log`](https://crates.io/crates/log) facade.
680+ ///
681+ /// If set, the `max_log_level` sets the maximum log level. Otherwise, the latter defaults to
682+ /// [`DEFAULT_LOG_LEVEL`].
678683 pub fn set_log_facade_logger ( & self , log_level : LogLevel ) {
679684 self . inner . write ( ) . unwrap ( ) . set_log_facade_logger ( log_level) ;
680685 }
0 commit comments