def log_deprecations(logger=None): """Log active deprecations.""" if logger is None: logger = LegacyLogger() for d in get_deprecations(): logger.msg("Deprecation {id} ({url}): {description}".format(**d))
def log_deprecations(logger=None): """Log active deprecations.""" if logger is None: logger = LegacyLogger() for d in get_deprecations(): logger.msg(d.message)