[rust]: update flowy-log name

This commit is contained in:
appflowy 2021-11-19 15:04:56 +08:00
parent ba67652e29
commit a06a2b9e5b
7 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ members = [
"lib-dispatch",
"flowy-sdk",
"dart-ffi",
"flowy-log",
"lib-log",
"flowy-user",
"flowy-user-infra",
"flowy-ast",

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
lib-dispatch = { path = "../lib-dispatch" }
flowy-log = { path = "../flowy-log" }
lib-log = { path = "../lib-log" }
flowy-user = { path = "../flowy-user" }
lib-infra = { path = "../lib-infra" }
flowy-workspace = { path = "../flowy-workspace", default-features = false }
@ -34,4 +34,4 @@ futures-util = "0.3.15"
[features]
http_server = ["flowy-user/http_server", "flowy-workspace/http_server", "flowy-document/http_server"]
use_bunyan = ["flowy-log/use_bunyan"]
use_bunyan = ["lib-log/use_bunyan"]

View File

@ -151,7 +151,7 @@ fn init_log(config: &FlowySDKConfig) {
if !INIT_LOG.load(Ordering::SeqCst) {
INIT_LOG.store(true, Ordering::SeqCst);
let _ = flowy_log::Builder::new("flowy-client", &config.root)
let _ = lib_log::Builder::new("flowy-client", &config.root)
.env_filter(&config.log_filter)
.build();
}

View File

@ -1,5 +1,5 @@
[package]
name = "flowy-log"
name = "lib-log"
version = "0.1.0"
edition = "2018"