mentat.plugin.enricher.logger module

IDEA message enrichment plugin for the daemon module for logging the message into log file, usefull mainly for development purposes or as an example for implementing additional custom modules.


Documentation is still work in progress, please refer to the source code for details.

class mentat.plugin.enricher.logger.LoggerEnricherPlugin[source]

Bases: mentat.plugin.enricher.EnricherPlugin

Simple implementation of enricher plugin performing logging with ‘info’ severity to application log file.

process(daemon, message_id, message)[source]

Process given message.

setup(daemon, config_updates=None)[source]

Perform setup of enricher plugin.