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.
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.