mirror of https://github.com/status-im/consul.git
233eacf0a4
* inject logger and create logdrop sink * init sink with an empty struct instead of nil * wrap a logger instead of a sink and add a discard logger to avoid double logging * fix compile errors * fix linter errors * Fix bug where log arguments aren't properly formatted * Move log sink construction outside of handler * Add prometheus definition and docs for log drop counter Co-authored-by: Daniel Upton <daniel@floppy.co> |
||
---|---|---|
.. | ||
log-drop.go | ||
log-drop_test.go | ||
mock_Logger.go |