[Devil] Set up logging level based on --verbose.
[Devil] Set up logging level based on --verbose.

This change intentionally doesn't use the runner.context
solution used by
https://chromium-review.googlesource.com/c/catapult/+/2075820
because that feature of typ seems complicated and poorly documented.
Instead, we simply set the logging level before we start. We do this
based on reading the value of the verbose argument by parsing the
arguments ourselves. This means that we are parsing the arguments
twice, but that is actually required anyways because this solution
here https://chromium-review.googlesource.com/c/catapult/+/2052253
doesn't work.

Thanks to Rakib for helping me come up with this much simpler solution!

Bug: chromium:383566
Change-Id: I53f03362e21795caf723256653dfac51a866fe14
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/2076506
Reviewed-by: John Budorick <17d38a2d68c6a07a3ab0ce4a2873c5acefbd3dbb@chromium.org>
Reviewed-by: Rakib Hasan <b8c940cea6e1ecbd15dc8d7e22b88b8c22a457f7@google.com>
Auto-Submit: Caleb Rouleau <58bdb6276c01e3ed53e660bf706aa902204feb0d@chromium.org>
Commit-Queue: Rakib Hasan <b8c940cea6e1ecbd15dc8d7e22b88b8c22a457f7@google.com>

catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult