mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
[rust]: update flowy-log name
This commit is contained in:
parent
ba67652e29
commit
a06a2b9e5b
@ -3,7 +3,7 @@ members = [
|
||||
"lib-dispatch",
|
||||
"flowy-sdk",
|
||||
"dart-ffi",
|
||||
"flowy-log",
|
||||
"lib-log",
|
||||
"flowy-user",
|
||||
"flowy-user-infra",
|
||||
"flowy-ast",
|
||||
|
@ -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"]
|
@ -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();
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "flowy-log"
|
||||
name = "lib-log"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
Loading…
Reference in New Issue
Block a user