log_if# scikitplot.logging.log_if(level, msg, condition, *args, **kwargs)[source]# Log only if a condition is True. Parameters: levelint or strLogging level. msgstrLog message. conditionboolCondition that must be True to log. *argsAnyMessage formatting args. **kwargsAnyPassed to the underlying logger. Parameters: level (int | str) msg (str) condition (bool) args (any) kwargs (any) Return type: None