Use LogLevel directly instead of the string representation

Bug: 5052143
Change-Id: I01ab0cd8beeb2a402bd4b0901aeed24b916f26c9
8 files changed