Commit bf6c9500 authored by Dan Moldovan's avatar Dan Moldovan Committed by TensorFlower Gardener
Browse files

Use a logging mechanism that allows greater output control.

Requirements that this mechanism meets:
 * users should be able to change the verbosity programmatically (ag.set_verbosity)
 * users should be able to change the verbosity without touching the code (AUTOGRAPH_VERBOSITY env variable)
 * different levels of verbosity should be supported, ala vlog
 * the mechanism should work in interactive prompts like Jupyter by mirroring the log messages to console
All these controls are global (at least for now).

PiperOrigin-RevId: 230514195
parent 2691e674
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment