add logging
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Johannes Heuel
2022-09-20 19:15:45 +02:00
parent 37d7177126
commit 65a50f8b74
6 changed files with 121 additions and 146 deletions

23
Cargo.lock generated
View File

@@ -473,6 +473,19 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "env_logger"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272"
dependencies = [
"atty",
"humantime",
"log",
"regex",
"termcolor",
]
[[package]]
name = "fastrand"
version = "1.8.0"
@@ -706,6 +719,12 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
version = "0.14.20"
@@ -1859,6 +1878,8 @@ name = "zoidberg_client"
version = "0.1.0"
dependencies = [
"clap",
"env_logger",
"log",
"reqwest",
"reqwest-middleware",
"reqwest-retry",
@@ -1881,6 +1902,8 @@ version = "0.1.0"
dependencies = [
"actix-web",
"clap",
"env_logger",
"log",
"serde_json",
"zoidberg_lib",
]