setLogLevel static method

dynamic setLogLevel(
  1. int priority
)

Implementation

static setLogLevel(int priority) {
  int newPriority = priority;
  if (newPriority <= VERBOSE) {
    newPriority = VERBOSE;
  } else if (newPriority >= WTF) {
    newPriority = WTF;
  }
  _currentLogLevel = newPriority;
}