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.
Loading
Please sign in to comment