Getting started

Installation

pip install bozo
# Optional web viewer
pip install bozo[viewer]

First-time setup

Call setup() once at application startup. bozo uses a global configuration.

import bozo

bozo.setup("myapp")

Getting a logger

Use get(__name__) to create a structured logger for a module.

log = bozo.get(__name__)

Structured logging example

log.info("user_login", user_id=42, email="user@example.com")

This site uses Just the Docs, a documentation theme for Jekyll.