near-cli-rs icon indicating copy to clipboard operation
near-cli-rs copied to clipboard

Runtime Introspection

Open miraclx opened this issue 1 year ago • 1 comments

What do you think about setting up a log subscriber for the binary, near-jsonrpc-client, for example uses log internally, and I would like to be able to see those reports when running the CLI.

miraclx avatar Apr 22 '24 10:04 miraclx

@miraclx do you mean you want to be able to control logging level via env variable RUST_LOG?

You can do that starting with a recent 0.10.0 release:

https://github.com/near/near-cli-rs/blob/21001b6d6c6c6fb05ba1f5d267029de4af680beb/src/main.rs#L91

frol avatar May 08 '24 09:05 frol