Commit 2f6e2c87 authored by Kun Zhang's avatar Kun Zhang Committed by GitHub
Browse files

context: stop using logger at all in static initialization. (#3191)

Turns out avoiding log() alone in the static initialization is not
enough. isLoggable() can also be overridden and call back to Context.
We take a another approach, save the exception and log it outside of
the initialization block.
parent 7c605107
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment