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:
parent
d1bd3ad557
commit
44027c66c6
1 changed files with 1 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue