deliverance.log – logging

Logging for deliverance.

This does not use the standard logging module because that module is not easily applied and inspected locally. We want the log messages to be strictly per-request.

Contents

Module Contents

class deliverance.log.SavingLogger(request, middleware)

Logger that saves all its messages locally.

class deliverance.log.PrintingLogger(request, middleware, print_level=10)

Logger that saves messages, but also prints out messages immediately