colour.utilities.MixinLogging#

class colour.utilities.MixinLogging[source]#

Bases: object

Provide logging capabilities through mixin inheritance.

This mixin extends class functionality to enable structured logging, allowing consistent logging behaviour across the codebase.

Attributes

  • MAPPING_LOGGING_LEVEL_TO_CALLABLE()

Methods

log(message: str, verbosity: Literal['critical', 'error', 'warning', 'info', 'debug'] = 'info') None[source]#

Log the specified message using the specified verbosity level.

Parameters:
  • message (str) – Message to log.

  • verbosity (Literal['critical', 'error', 'warning', 'info', 'debug']) – Verbosity level.

Return type:

None

__weakref__#

list of weak references to the object