Sets the logging level to control log verbosity.
level
static setLogLevel(int level) { logLevel = level; }