gleam-wisp / wisp

🧚 A practical web framework for Gleam
https://gleam-wisp.github.io/wisp/
Apache License 2.0
915 stars 41 forks source link

Logging #14

Closed lpil closed 1 year ago

lpil commented 1 year ago

Provide some rudimental logging APIs, backed by the Erlang logger, including a basic logger backend that writes to the console in a clean format with Gleam syntax for any arbitrary printed values.

This API will likely be ignored in favour of more sophisticated logging APIs in larger projects, but having a basic one will mean that all Wisp projects have the ability to log out-of-the-box.

We can also use this API internally for logging errors, etc.