Wisp Example: Logging
gleam run -m logging/app # Run the server
This example shows how to log messages using the BEAM logger.
This example is based off of the "routing" example, so read that one first. The additions are detailed here and commented in the code.
app/router module
The handle_request function now logs messages depending on the request.
Other files
No changes have been made to the other files.