Skip to content

Commit

Permalink
funcr: Handle nested empty groups properly
Browse files Browse the repository at this point in the history
This ruins the whole idea of pre-rendering.  We simply don't know if we
have to render a group until we know the whole log record.  Not having
values at the time that `WithGroup` is called is not sufficient
information.
  • Loading branch information
thockin committed Mar 1, 2024
1 parent a6645b7 commit 376cba9
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 95 deletions.
169 changes: 86 additions & 83 deletions funcr/funcr.go
105 changes: 93 additions & 12 deletions funcr/slogsink_test.go

0 comments on commit 376cba9

Please sign in to comment.