seldonian.warnings.custom_warnings.custom_formatwarning

custom_formatwarning(msg, category, filename='', lineno=-1, module='', *args, **kwargs)

A way to print out only certain parts of the standard warning message