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

text-logger-slf4j: introduce wrapper for formatted logging #757

Merged
merged 9 commits into from Jun 2, 2022

Conversation

zml2008
Copy link
Member

@zml2008 zml2008 commented Apr 26, 2022

Fixes GH-731

TODOs:

  • make sure location information is passed through to logger implementations properly -- we might have to call LocationAwareLogger directly?
  • is our handling of argument arrays correct
  • test implemenations -- we should have prototypes for paper and fabric
  • does SLF4J have a test harness? or can we mockito up something?
  • is it worth doing something with ComponentMessageThrowables as special handling for the throwable param?
  • Override all String logging methods to process component arguments/throwables passed

Copy link
Member

@kezz kezz left a comment

Choose a reason for hiding this comment

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

Some very very minor comments here - overall this is some super dope stuff and it's really cool :)

@zml2008 zml2008 self-assigned this Jun 2, 2022
@zml2008 zml2008 merged commit 5c2d340 into main/4 Jun 2, 2022
@zml2008 zml2008 deleted the feature/slf4j-logger branch June 2, 2022 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SLF4J wrapper for logging components
2 participants