summaryrefslogtreecommitdiff
path: root/src/http/apiutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/apiutil')
-rw-r--r--src/http/apiutil/apiutil.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/apiutil/apiutil.go b/src/http/apiutil/apiutil.go
index 1fbadea..c59104c 100644
--- a/src/http/apiutil/apiutil.go
+++ b/src/http/apiutil/apiutil.go
@@ -16,6 +16,9 @@ import (
"github.com/mediocregopher/mediocre-go-lib/v2/mlog"
)
+// TODO I don't think Set/GetRequestLogger are necessary? Seems sufficient to
+// just annotate the request's context
+
type loggerCtxKey int
// SetRequestLogger sets the given Logger onto the given Request's Context,