TrojanerHD / TrojanerBot

My discord bot
MIT License
4 stars 2 forks source link

Implement a proper logger #66

Open TrojanerHD opened 1 year ago

TrojanerHD commented 1 year ago

While the settings already uses a flag logging for the log level, it is only used for logging initial information about whether the current bot's configuration is valid. However, I also want to use a logger in my code. That means, I want to be able to log anything anywhere under the condition that logging is set to at least level X.