log_if#

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

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