Andrey Kozhanov wrote:Why not to read log level from command line or some configuration file?
Of course, why didn't I think of that? The other problem is that the docs recommend creating a separate logger for each class. Then I would need to ensure that the log level is set for each class. Seems like a lot of lines of code to write to set up logging and control the level of verbosity, so it seem like I'm doing it wrong.