logging.message#

autoclean.utils.logging.message(level, text, **kwargs)[source]#

Enhanced logging function with support for lazy evaluation and context. Outputs to the console and the log file.

Parameters:
levelstr

Log level (‘debug’, ‘info’, ‘warning’, etc.)

textstr

Message text to log

**kwargs

Additional context variables for formatting