Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.compat.v1.logging.log_if

View source on GitHub

Log 'msg % args' at level 'level' only if condition is fulfilled.

tf.compat.v1.logging.log_if(
    level, msg, condition, *args
)