kryonet icon indicating copy to clipboard operation
kryonet copied to clipboard

Allow usage of SLF4J for logging

Open payne911 opened this issue 4 years ago • 2 comments

I'd love to be able to get KryoNet to use any SLF4J implementation.

Some work has already been done in that regards: https://github.com/hpadmanabhan/kryonet-slf4j/commits/master

MinLog is probably better in terms of performance, but it lacks on the feature side.

This is nothing too alarming or concerning, just a simple convenience thing. If it proves to be too much work to implement, you can probably just ignore it.

payne911 avatar Dec 13 '20 17:12 payne911

Hey @payne911, thanks for the idea and especially the link to @hpadmanabhan's repo! I will look into that, when I find some time. As an alternative: I know that I recommended one of the minlog-slf4j replacements to you (jdanbrown/minlog-slf4j or dorkbox/MinLog-SLF4J): were they any good?

(Completely unrelated, but a minlog to Gdx.log replacement would be an interesting idea as well.)

crykn avatar Dec 28 '20 12:12 crykn

As an alternative: I know that I recommended one of the minlog-slf4j replacements to you (jdanbrown/minlog-slf4j or dorkbox/MinLog-SLF4J): were they any good?

I had voiced my concerned after setting aside my other project, so I don't think I had tried your suggestions.

And I thought I'd use KryoNet for my upcoming project, but I ended up wanting to try getting a build for html so I went the WebSockets way instead.

payne911 avatar Dec 28 '20 20:12 payne911