felipenoris / hyper-reverse-proxy

A simple reverse proxy for use with Hyper and Tokio
Apache License 2.0
181 stars 63 forks source link

Custom error logging #3

Open brendanzab opened 7 years ago

brendanzab commented 7 years ago

We should allow folks to log failed requests in their preferred way, be it printf, slog, or something else...

somehowchris commented 2 years ago

How about tracing? It has a lot of adapters i.e. for log

somehowchris commented 2 years ago

@felipenoris There are some internal messages via tracing, so its up to the lib implementer on how to handle the logs and how he uses the returned types