chore: cell data operation (#1656)

* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
This commit is contained in:
Nathan.fooo
2023-01-05 21:27:21 +08:00
committed by GitHub
parent 7949d3fe4a
commit d4946f1194
94 changed files with 673 additions and 609 deletions

View File

@ -67,8 +67,8 @@ impl Builder {
// let _ = set_global_default(subscriber).map_err(|e| format!("{:?}", e))?;
// }
let _ = set_global_default(subscriber).map_err(|e| format!("{:?}", e))?;
let _ = LogTracer::builder()
set_global_default(subscriber).map_err(|e| format!("{:?}", e))?;
LogTracer::builder()
.with_max_level(LevelFilter::Trace)
.init()
.map_err(|e| format!("{:?}", e))?;
@ -84,7 +84,7 @@ mod tests {
// run cargo test --features="use_bunyan" or cargo test
#[test]
fn test_log() {
let _ = Builder::new("flowy", ".").env_filter("debug").build().unwrap();
Builder::new("flowy", ".").env_filter("debug").build().unwrap();
tracing::info!("😁 tracing::info call");
log::debug!("😁 log::debug call");