toInteger method

int toInteger (LogLevel level)

Converts log level to a number.

  • level a log level to convert. Return log level number value.