classLoggable:"""Mixin class that adds a logger to a class instance with extra contextual information."""@cached_propertydeflogger(self)->logging.LoggerAdapter[logging.Logger]:"""Logger instance with contextual information."""returnContextualAdapter(logging.getLogger("redsun"),self)