-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zapslog: fix all with slogtest, support inline group, ignore empty group. #1408
Commits on Feb 2, 2024
-
zapslog: inline group if empty key uber-go#1402
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for e575540 - Browse repository at this point
Copy the full SHA e575540View commit details -
zapslog: Ignore groups if empty Record uber-go#1401
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for 28b05cb - Browse repository at this point
Copy the full SHA 28b05cbView commit details -
zapslog: Test with slogtest, fix all failures uber-go#1334
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for f09e134 - Browse repository at this point
Copy the full SHA f09e134View commit details
Commits on Feb 3, 2024
-
refactor: fixed inefficient []zapcore.Field insertion
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for 104e04f - Browse repository at this point
Copy the full SHA 104e04fView commit details
Commits on Feb 4, 2024
-
zapslog: add test coverage - WithGroup in WithGroup
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for baa935c - Browse repository at this point
Copy the full SHA baa935cView commit details -
zapslog: fix handler state management problems.
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
Configuration menu - View commit details
-
Copy full SHA for e10aad1 - Browse repository at this point
Copy the full SHA e10aad1View commit details -
test nits: Adjust test names, remove unnecessary LoggerName checks
Logger name is already tested in WithName. It doesn't need to be duplicated in every test.
Configuration menu - View commit details
-
Copy full SHA for b2e66d2 - Browse repository at this point
Copy the full SHA b2e66d2View commit details -
fix: WithGroup.WithGroup.Info should not create an empty group
This requires holding onto a slice instead of a single string to create the nested namespaces. The slice is cloned on each WithGroup call. We could probably do this more efficiently with an immutable tree of references, but deferring that for now. In the process, also make the addedNamespace business append during the record.Attrs loop instead of after. This is more efficient because we don't have to shift the slice over afterwards.
Configuration menu - View commit details
-
Copy full SHA for 8ba79ba - Browse repository at this point
Copy the full SHA 8ba79baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8466cda - Browse repository at this point
Copy the full SHA 8466cdaView commit details