Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.logging.log_if

View source on GitHub

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