Skip to content

Commit daf4eb8

Browse files
committed
refactor(logging): Change group value order
1 parent 64c28dd commit daf4eb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/endpoint/endpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ func (e *Endpoint) GetLogAttribute() slog.Attr {
156156
return slog.Attr{
157157
Key: "endpoint",
158158
Value: slog.GroupValue(
159-
slog.String("name", e.Name),
160159
slog.String("group", e.Group),
160+
slog.String("name", e.Name),
161161
),
162162
}
163163
}

config/suite/suite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ func (s *Suite) GetLogAttribute() slog.Attr {
6161
return slog.Attr{
6262
Key: "suite",
6363
Value: slog.GroupValue(
64-
slog.String("name", s.Name),
6564
slog.String("group", s.Group),
65+
slog.String("name", s.Name),
6666
),
6767
}
6868
}

0 commit comments

Comments
 (0)