colour.utilities.MixinLogging#

class colour.utilities.MixinLogging[source]#

Bases: object

A mixin providing a convenient logging method.

Attributes

  • MAPPING_LOGGING_LEVEL_TO_CALLABLE()

Methods

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

Log given message using given 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