level method

dynamic level()

Implementation

level() {
  switch (this) {
    case LinkFiveLogLevel.TRACE:
      return 0;
    case LinkFiveLogLevel.DEBUG:
      return 1;
    case LinkFiveLogLevel.INFO:
      return 2;
    case LinkFiveLogLevel.WARN:
      return 3;
    case LinkFiveLogLevel.ERROR:
      return 4;
  }
}