apache / logging-chainsaw

Apache Chainsaw is a GUI log viewer
http://logging.apache.org/chainsaw
Apache License 2.0
12 stars 10 forks source link

column LINE location is not correct. #6

Closed ldd200888 closed 3 years ago

ldd200888 commented 3 years ago

When adding columnName, LINE is after MILLIS_DELTA:

    columnNames.add(ChainsawConstants.CLASS_COL_NAME);
    columnNames.add(ChainsawConstants.METHOD_COL_NAME);
    columnNames.add(ChainsawConstants.FILE_COL_NAME);
    columnNames.add(ChainsawConstants.MILLIS_DELTA_COL_NAME_LOWERCASE.toUpperCase()); //add uppercase col name
    columnNames.add(ChainsawConstants.LINE_COL_NAME);

But, in indexes, LINE is before MILLIS_DELTA:

  public static final int INDEX_METHOD_COL_NAME = 10;
  public static final int INDEX_FILE_COL_NAME = 11;
  public static final int INDEX_LINE_COL_NAME = 12;
  public static final int INDEX_MILLIS_DELTA_COL_NAME = 13;

It makes the LINE and MILLIS_DELTA can't show correctly.