feat: implement rule engine, worker pool, event bus, and readability scraping with enhanced logging and content sanitization.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package logger
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestLoggerInit(t *testing.T) {
|
||||
log := InitLogger("debug")
|
||||
if log == nil {
|
||||
t.Fatal("expected non-nil logger")
|
||||
}
|
||||
L().Info("Test structured logging message")
|
||||
S().Infof("Test sugared logging message with %s", "parameter")
|
||||
Named("test-component").Debug("Test component debug log")
|
||||
}
|
||||
Reference in New Issue
Block a user