This document is for Kombu's development version, which can be significantly different from previous releases. Get the stable docs here: 5.3.

# Logging - `kombu.log`

Logging Utilities.

class kombu.log.LogMixin

  Mixin that adds severity methods to any class.

  annotate(text)
  critical(*args, **kwargs)
  debug(*args, **kwargs)
  error(*args, **kwargs)
  get_logger()
  get_loglevel(level)
  info(*args, **kwargs)
  is_enabled_for(level)
  log(severity, *args, **kwargs)
  property logger
  property logger_name
  warn(*args, **kwargs)

kombu.log.get_loglevel(level)

  Get loglevel by name.

kombu.log.setup_logging(loglevel=None, logfile=None)

  Setup logging.