···6262- [Working with other formats](https://github.com/lpil/wisp/tree/main/examples/4-working-with-other-formats)
6363- [Using a database](https://github.com/lpil/wisp/tree/main/examples/5-using-a-database)
6464- [Serving static assets](https://github.com/lpil/wisp/tree/main/examples/6-serving-static-assets)
6565+- [Logging](https://github.com/lpil/wisp/tree/main/examples/7-logging)
65666667API documentation is available on [HexDocs](https://hexdocs.pm/wisp/).
+22
examples/7-logging/README.md
···11+# Wisp Example: Logging
22+33+```sh
44+gleam run # Run the server
55+gleam test # Run the tests
66+```
77+88+This example shows how to route requests to different handlers based on the
99+request path and method.
1010+1111+This example is based off of the ["routing" example][routing], so read that
1212+one first. The additions are detailed here and commented in the code.
1313+1414+[hello]: https://github.com/lpil/wisp/tree/main/examples/1-routing
1515+1616+### `app/router` module
1717+1818+The `handle_request` function now logs messages depending on the request.
1919+2020+### Other files
2121+2222+No changes have been made to the other files.