There are three levels: Debug, Warn and Error. Enabled by setting the environment variable DEBUG_I2P to either "debug", "warn" or "error". Defaults to omitting verbosity. And if DEBUG_I2P is set to an unrecognized variable, it will default to debug.
Same story as the other PR, please document the behavior of the debug option re: unknown values in the README.md, then I'll merge it, otherwise it all looks good to me.
There are three levels: Debug, Warn and Error. Enabled by setting the environment variable DEBUG_I2P to either "debug", "warn" or "error". Defaults to omitting verbosity. And if DEBUG_I2P is set to an unrecognized variable, it will default to debug.