code: protected static StackTraceElement asStackTraceElement(LocationInfo location) {
          String fileName = (LocationInfo.NA.equals(location.getFileName())) ? null : location.getFileName();
          int line = (LocationInfo.NA.equals(location.getLineNumber())) ? -1 : Integer.parseInt(location.getLineNumber());
          return new StackTraceElement(location.getClassName(), location.getMethodName(), fileName, line);
      }
docs: Transforms the location info of a log into a stacktrace element (stackframe).
  
  @param location details on the location of the log.
  @return a stackframe.