Chromium Code Reviews
DescriptionBlimp: change logger to use switch/case for types.
The current design of the logger allows for logging "modules" to
be loaded into a dynamic map. This functionality is not providing
any benefit at the moment, and it prevents the compiler from performing
enum coverage checks at compile time. This CL changes the dynamic
behavior to use a switch block instead.
R=wez@chromium.org
BUG=
Committed: https://crrev.com/d008c80b9f35110a085fba5970ddc0d96877851b
Cr-Commit-Position: refs/heads/master@{#398433}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Methods, not classes! #Patch Set 3 : Inline the logging helper function. #
Total comments: 8
Patch Set 4 : wez feedback #Patch Set 5 : rebase #
Messages
Total messages: 17 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||