mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove unused features (#5196)
* chore: remove unused features * chore: update logs
This commit is contained in:
@ -6,7 +6,6 @@ edition = "2018"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
|
||||
tracing-subscriber = { version = "0.3.17", features = ["registry", "env-filter", "ansi", "json"] }
|
||||
tracing-bunyan-formatter = "0.3.9"
|
||||
tracing-appender = "0.2.3"
|
||||
@ -16,7 +15,4 @@ serde_json.workspace = true
|
||||
serde.workspace = true
|
||||
chrono = "0.4"
|
||||
lazy_static = "1.4.0"
|
||||
lib-infra.workspace = true
|
||||
|
||||
[features]
|
||||
use_bunyan = []
|
||||
lib-infra.workspace = true
|
@ -46,7 +46,7 @@ where
|
||||
) -> Result<(), std::io::Error> {
|
||||
map_serializer.serialize_entry(MESSAGE, &message)?;
|
||||
// map_serializer.serialize_entry(LEVEL, &format!("{}", level))?;
|
||||
map_serializer.serialize_entry(TIME, &Local::now().format("%Y-%m-%d %H:%M:%S").to_string())?;
|
||||
map_serializer.serialize_entry(TIME, &Local::now().format("%m-%d %H:%M:%S").to_string())?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user