馃 A practical web framework for Gleam
at main 21 lines 537 B view raw view rendered
1# Wisp Example: Logging 2 3```sh 4gleam run # Run the server 5gleam test # Run the tests 6``` 7 8This example shows how to log messages using the BEAM logger. 9 10This example is based off of the ["routing" example][routing], so read that 11one first. The additions are detailed here and commented in the code. 12 13[routing]: https://github.com/lpil/wisp/tree/main/examples/01-routing 14 15### `app/router` module 16 17The `handle_request` function now logs messages depending on the request. 18 19### Other files 20 21No changes have been made to the other files.