Open ultralegendary opened 2 months ago
@ultralegendary The implementation of logging has been long due, so I guess it'd be great if you'd like to work on it. Let me know if I should assign you.
Hey, Please assign this to me. I am adding logging to all the cogs. This will automatically log actions to the console where the bot is running. I am replacing print statements with loggers.
@ultralegendary Alright, assigning it to you.
Description
Summary
Implement logging to log the errors which occurs when processing commands.
Purpose
This will provide us visibility to backtrack and debug the issue when any command produce some error in production.
Proposed Idea
Ideally, log the error to a discord channel(this should be configurable by the owner from the commands) is highly efficient compared to logging to a file or the terminal where the bot runs in this case.
What to include
Logging should include the information:
Screenshots
No response
Additional information
No response