Logs a message every n calls. See _log_every_n_to_logger.

def log_every_n(n, level, message, *args):  # pylint: disable=invalid-name
  """Logs a message every n calls. See _log_every_n_to_logger."""
  return _log_every_n_to_logger(n, None, level, message, *args)