Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expose logBridge via NewStandardLog()
Various libraries, including stdlib, accept *log.Logger to support optional logging. Let's expose logBridge to facilitate working with these libraries. stdlib examples: * [http.Server.ErrorLog] * [httputil.ReverseProxy.ErrorLog] [http.Server.ErrorLog]: https://cs.opensource.google/go/go/+/refs/tags/go1.20.1:src/net/http/server.go;l=2679-2683;drc=ea4631cc0cf301c824bd665a7980c13289ab5c9d [httputil.ReverseProxy.ErrorLog]: https://cs.opensource.google/go/go/+/refs/tags/go1.20.1:src/net/http/httputil/reverseproxy.go;l=173-176;drc=458241f981e0a8e1d9e0b2f6ae53be62f00001d2
- Loading branch information