From 44027c66c63e739010955c13da0effbd5b16abfc Mon Sep 17 00:00:00 2001 From: postmannen Date: Fri, 10 Jan 2025 10:25:29 +0100 Subject: [PATCH] added TODO comment for debug logging --- errorkernel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/errorkernel.go b/errorkernel.go index bed2230..4461b8d 100644 --- a/errorkernel.go +++ b/errorkernel.go @@ -293,6 +293,7 @@ func (e *errorKernel) logWarn(msg string, args ...any) { slog.Warn(msg, args...) } +// TODO: Make this into structured logging func (e *errorKernel) logDebug(err error) { if e.configuration.LogLevel == string(logDebug) { slog.Debug("debug", err.Error())