log_if#

scikitplot.logging.log_if(level, msg, condition, *args, **kwargs)[source]#

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