javadiscord / java-discord-api

A wrapper over the discord API to create bots using Java
GNU General Public License v3.0
7 stars 8 forks source link

Improve logging throughtout the framework #99

Open surajkumar opened 1 month ago

surajkumar commented 1 month ago

As a developer I want to...

be able to see which events log messages

So that...

I can understand what is happening during code execution.

Context

We have a lot of code and lots of moving parts. If something goes wrong, we should be able to identify issues and state by looking at the logs. So we should improve our log coverage to capture everything that is happening within the system.

Ideally, everything should be logged using a mixture of all logging level severities (trace, info, warn, debug, error).

Additonally, we should probably trace method entry/exits so when issues are raised by end users we have the complete step-by-step of the execution for debugging.

Acceptance Criteria

GIVEN a method is invoked THEN appropriate logging messages should be printed

GIVEN a choice statement THEN logging should be present to indicate the flow

tushartari11 commented 1 month ago

Hello @nateweisz , Thanks for your response on discord. Can I work on this ??

surajkumar commented 1 month ago

Hello @nateweisz , Thanks for your response on discord. Can I work on this ??

Thanks I'll assign it to you! Glad to see Nopox is promoting this to fellow developers!

surajkumar commented 1 month ago

Hi @tushartari11 how's this going? If you are still working on this please let us know however for now I have marked the ticket as available again for somebody else to pick up.