Use string interpolation to construct log file path (#6365)

Signed-off-by: nibon7 <nibon7@163.com>

Signed-off-by: nibon7 <nibon7@163.com>
This commit is contained in:
nibon7 2022-08-20 09:06:45 +08:00 committed by GitHub
parent bbcf374886
commit ad7522bba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,5 +70,5 @@ cargo build
- To redirect trace logs to a file, enable the `--log-target file` switch.
```shell
cargo run --release --features=extra -- --log-level trace --log-target file
[($nu.temp-path) nu-($nu.pid).log] | path join | open
open $"($nu.temp-path)/nu-($nu.pid).log"
```