Changed to slf4j logging framework

Enhanced error handling/logging in RTL2832 eeprom device descriptor read method for troubleshooting issue present in some R820T tuners.
This commit is contained in:
dennis.sheirer
2014-09-20 10:04:04 +00:00
parent f2f658c43a
commit e441ebf0c9
78 changed files with 791 additions and 834 deletions

View File

@@ -19,12 +19,16 @@ package controller.channel;
import javax.swing.table.AbstractTableModel;
import log.Log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ChannelMapModel extends AbstractTableModel
{
private static final long serialVersionUID = 1L;
private static final int sSTART = 0;
private final static Logger mLog =
LoggerFactory.getLogger( ChannelMapModel.class );
private static final int sSTART = 0;
private static final int sSTOP = 1;
private static final int sBASE = 2;
private static final int sSIZE = 3;
@@ -160,8 +164,8 @@ public class ChannelMapModel extends AbstractTableModel
}
catch( Exception e )
{
Log.info( "ChannelMapModel - couldn't parse integer value "
+ "for [" + value + "] - " + e.getLocalizedMessage() );
mLog.error( "ChannelMapModel - couldn't parse integer value "
+ "for [" + value + "]", e );
}
}
}