kobi32768 / quotebot

Quote Bot for Discord
MIT License
3 stars 3 forks source link

use slf4j for logging & add implementation of slf4j #35

Open anatawa12 opened 2 years ago

anatawa12 commented 2 years ago

To get log from JDA, slf4j implementation is required

Sayamame-beans commented 8 months ago

Could you provide more information to help my understanding?

slord399 commented 8 months ago

It seems to be you get better log and control on it. https://stackify.com/slf4j-java/

Sayamame-beans commented 8 months ago

It's good thing, but I'd like to properly understand the reason to use it. This should be my problem of poor knowledge for this part. (Especially, I don't get the needs "To get log from JDA.")

anatawa12 commented 8 months ago

JDA outputs several log (for example, connection status and some non fatal errors) to slf4j log facade so to see some non-fatal errors, I have to add slf4j implementation package

Sayamame-beans commented 8 months ago

I got it! Sounds great.