v0.1.3 formatter exported, docs updated

This commit is contained in:
lixen committed 2025-11-15 16:32:27 -05:00
1 parent 0bdbc95409
commit 8b5faa217f
21 files changed
+807 -392

No files matched your search

+1 -3
View File
@@ -13,7 +13,7 @@ func (l *Logger) processLogs(ch <-chan logRecord) {
// Set up timers and state variables
timers := l.setupProcessingTimers()
defer l.closeProcessingTimers(timers)
defer l.stopProcessingTimers(timers)
c := l.getConfig()
@@ -103,9 +103,7 @@ func (l *Logger) processLogRecord(record logRecord) int64 {
}
// Format and serialize the log entry once
format := c.Format
data := l.formatter.Format(
format,
record.Flags,
record.TimeStamp,
record.Level,