001package jmri.jmrix.can.cbus.swing.console;
002
003// import org.slf4j.Logger;
004// import org.slf4j.LoggerFactory;
005
006/**
007 * 
008 *
009 * @author Andrew Crosland Copyright (C) 2008
010 * @author Steve Young Copyright (C) 2018
011 */
012public class CbusConsoleLogEntry {
013    
014    private final String _frame;
015    private final String _decoded;
016    private final int _highlighter;
017    
018    protected CbusConsoleLogEntry( String frame, String decoded, int highlighter ){
019        _frame = frame;
020        _decoded = decoded;
021        _highlighter = highlighter;
022    }
023
024    protected String getFrameText(){
025        return _frame;
026    }
027
028    protected String getDecodedText(){
029        return _decoded;
030    }
031
032    protected int getHighlighter() {
033        return _highlighter;
034    }
035    
036    // private final static Logger log = LoggerFactory.getLogger(CbusConsoleLogEntry.class);
037}