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

deprecate InitZapLogger and prefer InitLogger #25380

Closed
Tracked by #24190
tisonkun opened this issue Jun 12, 2021 · 0 comments · Fixed by #25381
Closed
Tracked by #24190

deprecate InitZapLogger and prefer InitLogger #25380

tisonkun opened this issue Jun 12, 2021 · 0 comments · Fixed by #25381
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@tisonkun
Copy link
Contributor

tisonkun commented Jun 12, 2021

Development Task

subtask of #24190

InitLogger is a more abstract name than InitZapLogger. We should program with abstraction, not implementation.

InitZapLogger is still used in tidb-tools which will be later removed with pingcap/tidb-tools#444. And then we can safely remove InitZapLogger. We might pay more attention when publishing methods.

@tisonkun tisonkun added the type/enhancement The issue or PR belongs to an enhancement. label Jun 12, 2021
@tisonkun tisonkun changed the title deprecated InitZapLogger and prefer InitLogger remove InitZapLogger and prefer InitLogger Jun 14, 2021
@tisonkun tisonkun changed the title remove InitZapLogger and prefer InitLogger deprecate InitZapLogger and prefer InitLogger Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant