mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
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:
parent
bbcf374886
commit
ad7522bba0
1 changed files with 1 additions and 1 deletions
|
@ -70,5 +70,5 @@ cargo build
|
||||||
- To redirect trace logs to a file, enable the `--log-target file` switch.
|
- To redirect trace logs to a file, enable the `--log-target file` switch.
|
||||||
```shell
|
```shell
|
||||||
cargo run --release --features=extra -- --log-level trace --log-target file
|
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"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue