diff --git a/README.md b/README.md index 17f8b12..4be1864 100644 --- a/README.md +++ b/README.md @@ -129,3 +129,5 @@ The installed application instead depends on the lightweight [fastapi_vue](https This keeps the development tooling where it belongs while leaving the distributed application as a normal, self-contained Python package. ℹ️ The version numbering between the runtime and setup packages is synchronized, and the setup script always bumps the version in `pyproject.toml` to ensure compatible updates. + +My App startup box and log items diff --git a/fastapi-vue/README.md b/fastapi-vue/README.md index 7c3eb70..7de9ff5 100644 --- a/fastapi-vue/README.md +++ b/fastapi-vue/README.md @@ -73,14 +73,7 @@ A single `reload` argument replaces Uvicorn's separate reload arguments and may A startup box with the app name, version and connect URL is printed before serving. Pass a `startup_box` template (`{name}`, `{version}`, `{listen}`, `{url}`, ...) to customize it, None to disable, or use `server.print_startup_box` on its own. -Printed by `server.run("my_app.app:app", listen=["localhost:3100"])`: - -``` -╭──────────────────────────────────────────╮ -│ My App 0.1.0 @ 127.0.0.1:3100 [::1]:3100 │ -│ http://localhost:3100 │ -╰──────────────────────────────────────────╯ -``` +My App startup box and log items Logging is integrated as well: removes noisy uvicorn logging, replacing it with prettified log formatting, a colored access log and tracebacks rendered by [tracerite](https://pypi.org/project/tracerite/). Note that HTTP responses also include tracerite formatting when `FastAPI(debug=True)` is used.