v0.1.1 format refactored, sanitizer added

This commit is contained in:
2025-11-15 04:32:39 -05:00
parent 1379455528
commit af162755dd
16 changed files with 794 additions and 544 deletions

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,