public static TraceLevel getTraceLevel(char traceString) {
    TraceLevel traceLevel;
    switch (traceString) {
      case 'V':
        traceLevel = TraceLevel.VERBOSE;
        break;
      case 'A':
        traceLevel = TraceLevel.ASSERT;
        break;
      case 'I':
        traceLevel = TraceLevel.INFO;
        break;
      case 'W':
        traceLevel = TraceLevel.WARNING;
        break;
      case 'E':
        traceLevel = TraceLevel.ERROR;
        break;
      case 'F':
        traceLevel = TraceLevel.WTF;
        break;
      default:
        traceLevel = TraceLevel.DEBUG;
    }
    return traceLevel;
  }
Logcat trace levels used to indicate the trace importance.

@author Pedro Vicente Gomez Sanchez.
lynx/src/main/java/com/github/pedrovgs/lynx/model/TraceLevel.java