mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: log debug log directory on startup (#8785)
This commit is contained in:
@ -92,6 +92,8 @@ impl LogArgs {
|
||||
}
|
||||
|
||||
/// Initializes tracing with the configured options from cli args.
|
||||
///
|
||||
/// Returns the file worker guard, and the file name, if a file worker was configured.
|
||||
pub fn init_tracing(&self) -> eyre::Result<Option<FileWorkerGuard>> {
|
||||
let mut tracer = RethTracer::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user