mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-06 15:44:24 +01:00
cli: add log file (#87)
This commit is contained in:
@@ -15,11 +15,16 @@ cargo run
|
||||
To specify a custom data directory, use
|
||||
|
||||
```bash
|
||||
cargo run -- --data_dir temp-dir
|
||||
cargo run -- --data-dir temp-dir
|
||||
```
|
||||
|
||||
To set a custom log level, use
|
||||
|
||||
```bash
|
||||
RUST_LOG=info cargo run
|
||||
RUST_LOG=info|debug|warn cargo run
|
||||
```
|
||||
|
||||
To specify a file to pipe logs to, use
|
||||
```bash
|
||||
RUST_LOG=info|debug|warn cargo run -- --log-file /tmp/log
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user