assembl.lib.logging module

class assembl.lib.logging.ConsoleFormatter(foreign_pre_chain=None, keep_exc_info=False, keep_stack_info=False, *args, **kwargs)[source]

Bases: structlog.stdlib.ProcessorFormatter

format(record)[source]

Extract structlog’s event_dict from record.msg and format it.

assembl.lib.logging.includeme(config)[source]

add request.logger