|
27 | 27 | //! |
28 | 28 | //! ```rust,no_run |
29 | 29 | //! use std::path::Path; |
30 | | -//! use torrust_tracker_deployer_lib::logging::{LogOutput, LogFormat, LoggingBuilder}; |
| 30 | +//! use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, LogFormat, LoggingBuilder}; |
31 | 31 | //! |
32 | 32 | //! // Flexible builder API |
33 | 33 | //! LoggingBuilder::new(Path::new("./data/logs")) |
|
40 | 40 | //! |
41 | 41 | //! ```rust,no_run |
42 | 42 | //! use std::path::Path; |
43 | | -//! use torrust_tracker_deployer_lib::logging::{LogOutput, init_compact}; |
| 43 | +//! use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, init_compact}; |
44 | 44 | //! |
45 | 45 | //! // E2E tests - enable stderr visibility with production log location |
46 | 46 | //! init_compact(Path::new("./data/logs"), LogOutput::FileAndStderr); |
@@ -151,7 +151,7 @@ impl LoggingConfig { |
151 | 151 | /// |
152 | 152 | /// ```rust,no_run |
153 | 153 | /// use std::path::Path; |
154 | | -/// use torrust_tracker_deployer_lib::logging::{LogOutput, LogFormat, LoggingBuilder}; |
| 154 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, LogFormat, LoggingBuilder}; |
155 | 155 | /// |
156 | 156 | /// // Basic usage with defaults (Compact file format, Pretty stderr format, FileAndStderr output) |
157 | 157 | /// LoggingBuilder::new(Path::new("./data/logs")).init(); |
@@ -314,7 +314,7 @@ impl LoggingBuilder { |
314 | 314 | /// |
315 | 315 | /// ```rust,no_run |
316 | 316 | /// use std::path::PathBuf; |
317 | | -/// use torrust_tracker_deployer_lib::logging::{LogFormat, LogOutput, LoggingConfig, init_subscriber}; |
| 317 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogFormat, LogOutput, LoggingConfig, init_subscriber}; |
318 | 318 | /// |
319 | 319 | /// let config = LoggingConfig::new( |
320 | 320 | /// PathBuf::from("./data/logs"), |
@@ -589,7 +589,7 @@ fn create_log_file_appender(log_dir: &Path) -> tracing_appender::non_blocking::N |
589 | 589 | /// # Example |
590 | 590 | /// ```rust,no_run |
591 | 591 | /// use std::path::Path; |
592 | | -/// use torrust_tracker_deployer_lib::logging::{LogOutput, init}; |
| 592 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, init}; |
593 | 593 | /// |
594 | 594 | /// // E2E tests - enable stderr visibility with production location |
595 | 595 | /// init(Path::new("./data/logs"), LogOutput::FileAndStderr); |
@@ -632,7 +632,7 @@ pub fn init(log_dir: &Path, output: LogOutput) { |
632 | 632 | /// # Example |
633 | 633 | /// ```rust,no_run |
634 | 634 | /// use std::path::Path; |
635 | | -/// use torrust_tracker_deployer_lib::logging::{LogOutput, init_json}; |
| 635 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, init_json}; |
636 | 636 | /// |
637 | 637 | /// // E2E tests - enable stderr visibility with production location |
638 | 638 | /// init_json(Path::new("./data/logs"), LogOutput::FileAndStderr); |
@@ -675,7 +675,7 @@ pub fn init_json(log_dir: &Path, output: LogOutput) { |
675 | 675 | /// # Example |
676 | 676 | /// ```rust,no_run |
677 | 677 | /// use std::path::Path; |
678 | | -/// use torrust_tracker_deployer_lib::logging::{LogOutput, init_compact}; |
| 678 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogOutput, init_compact}; |
679 | 679 | /// |
680 | 680 | /// // E2E tests - enable stderr visibility with production location |
681 | 681 | /// init_compact(Path::new("./data/logs"), LogOutput::FileAndStderr); |
@@ -716,7 +716,7 @@ pub fn init_compact(log_dir: &Path, output: LogOutput) { |
716 | 716 | /// # Example |
717 | 717 | /// ```rust,no_run |
718 | 718 | /// use std::path::Path; |
719 | | -/// use torrust_tracker_deployer_lib::logging::{LogFormat, LogOutput, init_with_format}; |
| 719 | +/// use torrust_tracker_deployer_lib::bootstrap::logging::{LogFormat, LogOutput, init_with_format}; |
720 | 720 | /// |
721 | 721 | /// // Initialize with JSON format for E2E tests with production location |
722 | 722 | /// init_with_format(Path::new("./data/logs"), LogOutput::FileAndStderr, &LogFormat::Json); |
|
0 commit comments