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

switch to slf4j #82

Open
stbischof opened this issue Sep 30, 2021 · 2 comments
Open

switch to slf4j #82

stbischof opened this issue Sep 30, 2021 · 2 comments

Comments

@stbischof
Copy link

stbischof commented Sep 30, 2021

Since April 24, 2021 the SLF4J binding of tinylog supports also SLF4J 2.0 .

would it be an option to switch to the more used SLF4J api and let the user decide about the impl? So everyone could decide to go with tinylog or something else.

@mattjlewis
Copy link
Owner

Thanks for the suggestion. I won't rule this out completely for a future major release (2.0 or 3.0) as I can see the benefits, however, I am reticent to add in the short-term given the huge amount of work for limited value.

@EAGrahamJr
Copy link
Contributor

In my opinion, the use of tinylog makes more sense for "constrained" devices -- thus makes sense as a default. If one has SLF4J dependencies, then just make sure logback is not included and use org.tinylog:slf4j-tinylog:$VERSION. The byte-sizes of the two logging frameworks are staggeringly different.

And, to be honest, tinylog has a couple of API bits that I think are more functionally useful than SLF4J (yeah, I know: heretical).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants