Missed TensorFlow World? Check out the recap. Learn more

tf.compat.v1.logging.flush

View source on GitHub
tf.compat.v1.logging.flush()