Previous topic

medpy.core.logger.Logger.warn

Next topic

medpy.core.exceptions.ArgumentError

This Page

medpy.core.logger.Logger.warning

Logger.warning(msg, *args, **kwargs)[source]

Log ‘msg % args’ with severity ‘WARNING’.

To pass exception information, use the keyword argument exc_info with a true value, e.g.

logger.warning(“Houston, we have a %s”, “bit of a problem”, exc_info=1)