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

implement test logger #16

Merged
merged 10 commits into from
Jun 25, 2021
Merged

implement test logger #16

merged 10 commits into from
Jun 25, 2021

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented Jun 24, 2021

Previous discussion at https://internals.tidb.io/t/topic/48

  1. Remove remove redundant private newZapTextEncoder
  2. Refactor a bit log.go for sane.
  3. Port zaptest's testingWriter to InitTestLogger
  4. Update test to use our new test logger.

Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun requested review from nolouch and lysu June 24, 2021 10:57
Signed-off-by: tison <wander4096@gmail.com>
@lysu
Copy link
Collaborator

lysu commented Jun 25, 2021

LGTM..it's no problem to me :)

Copy link
Member

@nolouch nolouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nolouch nolouch merged commit 98ed8e2 into pingcap:master Jun 25, 2021
@tisonkun
Copy link
Contributor Author

Thanks for your review and merging!

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

3 participants