adds warnings for extra manifest keys (#1278)

* adds warnings for extra manifest keys

* default to warn log level if env not specified
This commit is contained in:
Keagan McClelland
2022-02-25 17:18:55 -07:00
committed by GitHub
parent 6ef7da9732
commit 798e17f636
5 changed files with 83 additions and 12 deletions

View File

@@ -19,6 +19,9 @@ fn inner_main() -> Result<(), Error> {
.takes_value(true),
),
context: matches => {
if let Err(_) = std::env::var("RUST_LOG") {
std::env::set_var("RUST_LOG", "embassy=warn");
}
EmbassyLogger::init();
SdkContext::init(matches)?
},