mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Unify & enforce same interface of sr-io (std & without-std) (#2381)
* WiP: HTTP Apis. * Working on the API. * Add docs, clean up the API. * Expose ext_ stuff as well. * Implement HTTP helpers for offchain sr-io. * Remove HTTP stuff. * Remove spurious leading `::` Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com> * Rename in toml. * Add issue number. * Bump version.
This commit is contained in:
committed by
Bastian Köcher
parent
07d495d905
commit
f0202aa425
@@ -745,10 +745,10 @@ fn init_logger(pattern: &str) {
|
||||
builder.filter(None, log::LevelFilter::Info);
|
||||
|
||||
if let Ok(lvl) = std::env::var("RUST_LOG") {
|
||||
builder.parse(&lvl);
|
||||
builder.parse_filters(&lvl);
|
||||
}
|
||||
|
||||
builder.parse(pattern);
|
||||
builder.parse_filters(pattern);
|
||||
let isatty = atty::is(atty::Stream::Stderr);
|
||||
let enable_color = isatty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user