def log_warn(message, **kwargs):
 if kwargs:
  message = message.format(**kwargs)
 print(message, file=sys.stderr)

def log_warn ( message , ** kwargs ) : if kwargs : message = message . format ( ** kwargs ) print ( message , file = sys . stderr )
prints/logs any warnings that arent critical but should be noted .