@@ -129,14 +129,14 @@ pub fn install_panic_hook() {
129129
130130/// Initialize the tracing/logging system.
131131///
132- /// This delegates to `crab_common::debug::init_debug` which supports:
132+ /// This delegates to `crab_common::utils:: debug::init_debug` which supports:
133133/// - Console output to stderr (with level filtering)
134134/// - Optional file output to `~/.crab/logs/`
135135///
136136/// When `verbose` is true, enables `crab=debug` level logging.
137137/// Otherwise, tracing stays at its default (warn+error only).
138138pub fn init_logging ( verbose : bool ) {
139- let config = crab_common:: debug:: DebugConfig {
139+ let config = crab_common:: utils :: debug:: DebugConfig {
140140 enabled : verbose,
141141 filter : if verbose {
142142 Some ( "crab=debug" . to_string ( ) )
@@ -145,7 +145,7 @@ pub fn init_logging(verbose: bool) {
145145 } ,
146146 file : if verbose { Some ( log_file_path ( ) ) } else { None } ,
147147 } ;
148- crab_common:: debug:: init_debug ( & config) ;
148+ crab_common:: utils :: debug:: init_debug ( & config) ;
149149}
150150
151151/// Run all initialization steps.
@@ -161,15 +161,15 @@ pub fn initialize(verbose: bool) {
161161
162162/// Return the crash log path: `~/.crab/logs/crash.log`.
163163fn crash_log_path ( ) -> PathBuf {
164- crab_common:: path:: home_dir ( )
164+ crab_common:: utils :: path:: home_dir ( )
165165 . join ( ".crab" )
166166 . join ( "logs" )
167167 . join ( "crash.log" )
168168}
169169
170170/// Return the debug log file path: `~/.crab/logs/debug.log`.
171171fn log_file_path ( ) -> PathBuf {
172- crab_common:: path:: home_dir ( )
172+ crab_common:: utils :: path:: home_dir ( )
173173 . join ( ".crab" )
174174 . join ( "logs" )
175175 . join ( "debug.log" )
0 commit comments