e3.2.1 Format type text changed to txt for consistency and clarity.

This commit is contained in:
2025-10-10 05:40:26 -04:00
parent 162541e53f
commit ce6b178855
4 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ func TestSerializer(t *testing.T) {
s := newSerializer()
timestamp := time.Date(2024, 1, 1, 12, 0, 0, 0, time.UTC)
t.Run("text format", func(t *testing.T) {
t.Run("txt format", func(t *testing.T) {
data := s.serialize("txt", FlagDefault, timestamp, LevelInfo, "", []any{"test message", 123})
str := string(data)