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[source]

Mixin that adds severity methods to any class.

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

Get loglevel by name.

kombu.log.setup_logging(loglevel=None, logfile=None)[source]

Setup logging.