Remove logger and replace it with a library

This commit is contained in:
2025-04-18 12:47:47 +02:00
parent 58586395fb
commit 75bf449bed
13 changed files with 108 additions and 799 deletions

View File

@@ -2,8 +2,9 @@ package processor
import (
"io"
"cook/logger"
"os"
logger "git.site.quack-lab.dev/dave/cylogger"
)
func init() {
@@ -20,7 +21,7 @@ func init() {
if disableTestLogs {
// Create a new logger that writes to nowhere
silentLogger := logger.New(io.Discard, "", 0)
logger.DefaultLogger = silentLogger
logger.Default = silentLogger
}
}
}