Skip to content

log_utils

origami emits all of its messages using vanilla logging. The setup_logging() function below will structure origami (and any other loggers) to be streamed out using structlogs ConsoleRenderer. While this is useful to the origami repo in general, for instance in the CLI script and in tests, this function primarily serves as a template for how to set up structlog in your own application and configure it to structure both structlog-emitted messages (your app logs probably) and vanilla logging (origami logs).