Skip to content
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

fix(slog): nil point when no level defined #42

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

rogerogers
Copy link
Collaborator

What type of PR is this?

What this PR does / why we need it (English/Chinese):

zh: withlevel 和withhandleroptions都没有定义level的话会报空指针。
en: If neither WithLevel nor WithHandlerOptions define level, will cause a null pointer panic.

Which issue(s) this PR fixes:

Signed-off-by: rogrogers <rogers@rogerogers.com>
@li-jin-gou li-jin-gou merged commit b781f5b into hertz-contrib:main Sep 22, 2023
9 checks passed
@rogerogers rogerogers deleted the fix/nil-point branch November 9, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants