Lightweight zero-configuration SPA HTTP server. Serves SPA bundle on HTTP port so it plays well with Traefik out of the box. Compatible with Vue.js, React and Angular
This PR adds a Requests logger handler to the main http.Handler that can be enabled using a new logger option.
The logger handler implementation is based upon rs/zerolog logging library and supports printing log events as either JSON or pretty text (enabled via another option: log-pretty).
This PR adds a Requests logger handler to the main
http.Handler
that can be enabled using a newlogger
option.The logger handler implementation is based upon
rs/zerolog
logging library and supports printing log events as either JSON or pretty text (enabled via another option:log-pretty
).Example JSON log output