dcrd/internal
Dave Collins 1e44e8674b
rpcserver: Forward HTTP server err msgs to logger.
The standard library HTTP server writes all errors using standard error
by default when and error logger is not configured.  Currently, an error
logger is not being set which means the errors completely bypass the
logging system.

Since the required error logger must be from the standard library
logging package and a custom logger is used instead, this creates a shim
to forward the log messages from a standard lib logger to the RPC server
logger and configures the HTTP server to use it accordingly.
2020-09-25 12:40:02 -05:00
..
fees multi: Add decentralized treasury support. 2020-09-21 12:15:31 -05:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool mempool: Fix wrong tx type in error message 2020-09-21 15:00:02 -05:00
mining multi: Add decentralized treasury support. 2020-09-21 12:15:31 -05:00
rpcserver rpcserver: Forward HTTP server err msgs to logger. 2020-09-25 12:40:02 -05:00
version multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00