Created
February 22, 2019 00:06
-
-
Save jperl/6ce671ecb36cce99d41f6dc8964acf41 to your computer and use it in GitHub Desktop.
Absl Logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FLAGS = flags.FLAGS | |
if FLAGS.log_dir: | |
if not os.path.exists(FLAGS.log_dir): | |
os.makedirs(FLAGS.log_dir) | |
logging.get_absl_handler().use_absl_log_file() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment