remove jsonpath filter option (#290)

This commit is contained in:
Mike Voronov 2022-08-09 00:30:33 +03:00 committed by GitHub
parent 0c387f7415
commit e884210d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 217 additions and 202 deletions

415
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -20,9 +20,7 @@ use log::LevelFilter;
pub fn init_logger(default_level: Option<LevelFilter>) {
let target_map = TARGET_MAP.iter().cloned().collect();
let builder = marine_rs_sdk::WasmLoggerBuilder::new()
.with_target_map(target_map)
.filter("jsonpath_lib", log::LevelFilter::Info);
let builder = marine_rs_sdk::WasmLoggerBuilder::new().with_target_map(target_map);
let builder = if let Some(default_level) = default_level {
builder.with_log_level(default_level)