v0.1.1 format refactored, sanitizer added

This commit is contained in:
lixen committed 2025-11-15 04:32:39 -05:00
1 parent 443cd85416
commit 05228e64ba
16 files changed
+794 -544

No files matched your search

+2 -2
View File
@@ -102,9 +102,9 @@ func (l *Logger) processLogRecord(record logRecord) int64 {
return 0
}
// Serialize the log entry once
// Format and serialize the log entry once
format := c.Format
data := l.serializer.serialize(
data := l.formatter.Format(
format,
record.Flags,
record.TimeStamp,