mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 20:22:01 -06:00
Add debug segment percentage (#93)
* Fix file extension unwrap panic * Change log output name from crunchy_cli_core to crunchy_cli * Add percentage output
This commit is contained in:
parent
9e0edda7c2
commit
03db38b31c
3 changed files with 11 additions and 6 deletions
|
|
@ -75,8 +75,9 @@ impl CliLogger {
|
|||
// replace the 'progress' prefix if this function is invoked via 'progress!'
|
||||
record
|
||||
.target()
|
||||
.replacen("progress", "crunchy_cli", 1)
|
||||
.replacen("progress_end", "crunchy_cli", 1),
|
||||
.replacen("crunchy_cli_core", "crunchy_cli", 1)
|
||||
.replacen("progress_end", "crunchy_cli", 1)
|
||||
.replacen("progress", "crunchy_cli", 1),
|
||||
format!("{:?}", thread::current().id())
|
||||
.replace("ThreadId(", "")
|
||||
.replace(')', ""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue