Each line in the JSONL file is a self-contained JSON object with compact separators (no spaces) for minimal file size. The timestamp field is always present and uses ISO 8601 UTC format. The event_type field is always present. The payload field is included only when a payload dict was passed to audit.log(), keeping payloadless entries minimal: Source
serve()
serve() is the primary entry point for starting the Granian ASGI server. It supports both foreground (blocking) and background (daemon thread) modes, with optional PID file management, single-instance enforcement, and hot reload for development workflows: Source