mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 15:20:16 +00:00
remove jsonpath filter option (#290)
This commit is contained in:
parent
0c387f7415
commit
e884210d35
415
Cargo.lock
generated
415
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -20,9 +20,7 @@ use log::LevelFilter;
|
|||||||
|
|
||||||
pub fn init_logger(default_level: Option<LevelFilter>) {
|
pub fn init_logger(default_level: Option<LevelFilter>) {
|
||||||
let target_map = TARGET_MAP.iter().cloned().collect();
|
let target_map = TARGET_MAP.iter().cloned().collect();
|
||||||
let builder = marine_rs_sdk::WasmLoggerBuilder::new()
|
let builder = marine_rs_sdk::WasmLoggerBuilder::new().with_target_map(target_map);
|
||||||
.with_target_map(target_map)
|
|
||||||
.filter("jsonpath_lib", log::LevelFilter::Info);
|
|
||||||
|
|
||||||
let builder = if let Some(default_level) = default_level {
|
let builder = if let Some(default_level) = default_level {
|
||||||
builder.with_log_level(default_level)
|
builder.with_log_level(default_level)
|
||||||
|
Loading…
Reference in New Issue
Block a user