@Override protected Class getPrototypeClass(Trace content) {
    Class rendererClass = null;
    TraceLevel traceLevel = content.getLevel();
    switch (traceLevel) {
      case ASSERT:
        rendererClass = AssertTraceRenderer.class;
        break;
      case DEBUG:
        rendererClass = DebugTraceRenderer.class;
        break;
      case INFO:
        rendererClass = InfoTraceRenderer.class;
        break;
      case WARNING:
        rendererClass = WarningTraceRenderer.class;
        break;
      case ERROR:
        rendererClass = ErrorTraceRenderer.class;
        break;
      case WTF:
        rendererClass = WtfTraceRenderer.class;
        break;
      default:
        rendererClass = TraceRenderer.class;
    }
    return rendererClass;
  }
Renderer builder implementation created to return {@code Renderer<Trace>} instances based on the
trace level. This builder will use six different {@code Renderer<Trace>} implementations, one for
each TraceLevel type.

To learn more about Renderers library take a look to the repository:
https://github.com/pedrovgs/Renderers

@author Pedro Vicente Gomez Sanchez.
lynx/src/main/java/com/github/pedrovgs/lynx/renderer/TraceRendererBuilder.java