Compare commits
2 Commits
0a1324b28a
...
903ace3197
| Author | SHA1 | Date |
|---|---|---|
|
|
903ace3197 | |
|
|
91acb6da23 |
|
|
@ -19,20 +19,6 @@ use tracing::info;
|
|||
/// *depends on* : -
|
||||
///
|
||||
pub async fn setup_logger() -> Result<()> {
|
||||
// Builder::new()
|
||||
// .format(move |buf, record| {
|
||||
// writeln!(
|
||||
// buf,
|
||||
// "|{}| {} [{}] - {}",
|
||||
// "api-grubber",
|
||||
// Local::now().format("%d-%m-%Y %H:%M:%S"),
|
||||
// record.level(),
|
||||
// record.args(),
|
||||
// )
|
||||
// })
|
||||
// .filter(None, LevelFilter::Info)
|
||||
// .target(env_logger::Target::Stdout)
|
||||
// .init();
|
||||
let log_level = std::env::var("IM_LOG_INFO").unwrap_or_else(|_| String::from("INFO"));
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
|
|
|
|||
Loading…
Reference in New Issue