1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-31 01:24:31 +00:00

added TODO comment for debug logging

This commit is contained in:
postmannen 2025-01-10 10:25:29 +01:00
parent d1bd3ad557
commit 44027c66c6

View file

@ -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())