【发布时间】:2022-03-21 14:59:10
【问题描述】:
我有测试。它运行完整的运行时。我确定堆栈中有日志。但我在输出中看不到它们。
我这样运行测试:
RUST_LOG=trace,parity-db=error,trie=error,runtime=trace,substrate-relay=trace,bridge=trace cargo ltest my_runtime::xcm_test -- --nocapture
我应该怎么做才能在测试中看到日志?
-
嗨 Dzmitry,请查看 Substrate StackExchange 提案并支持它:area51.stackexchange.com/proposals/126136
标签: logging automated-tests substrate polkadot