提交 80fd2936 authored 作者: Serhij S's avatar Serhij S

fmt

上级 a8ecff07
......@@ -237,8 +237,8 @@ pub fn is_production() -> bool {
env::var("INVOCATION_ID").map_or(false, |v| !v.is_empty())
}
/// Configures stdout logger with the given filter
/// If started in production mode, does not logs timestamps
/// Configures stdout logger with the given filter. If started in production mode, does not logs
/// timestamps
pub fn configure_logger(filter: LevelFilter) {
let mut builder = env_logger::Builder::new();
builder.target(env_logger::Target::Stdout);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论