mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 17:17:29 -05:00
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:
@@ -17,7 +17,6 @@
|
||||
******************************************************************************/
|
||||
package decode.passport;
|
||||
|
||||
import log.Log;
|
||||
|
||||
public enum PassportBand
|
||||
{
|
||||
|
||||
@@ -17,9 +17,13 @@
|
||||
******************************************************************************/
|
||||
package decode.passport;
|
||||
|
||||
import gui.SDRTrunk;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import log.Log;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import message.Message;
|
||||
import alias.Alias;
|
||||
import alias.AliasList;
|
||||
@@ -33,6 +37,9 @@ import controller.state.ChannelState;
|
||||
|
||||
public class PassportChannelState extends ChannelState
|
||||
{
|
||||
private final static Logger mLog =
|
||||
LoggerFactory.getLogger( PassportChannelState.class );
|
||||
|
||||
private String mTalkgroup;
|
||||
private Alias mTalkgroupAlias;
|
||||
private String mMobileID;
|
||||
@@ -105,7 +112,7 @@ public class PassportChannelState extends ChannelState
|
||||
}
|
||||
catch( Exception e )
|
||||
{
|
||||
Log.error( "Error setting audio for "
|
||||
mLog.error( "Error setting audio for "
|
||||
+ "passport call", e );
|
||||
}
|
||||
}
|
||||
@@ -118,8 +125,6 @@ public class PassportChannelState extends ChannelState
|
||||
* have a different call ... cleanup the old one. */
|
||||
if( current != null && !current.addMessage( passport ) )
|
||||
{
|
||||
Log.info( "Current call event - testing" );
|
||||
|
||||
if( current.isValid() )
|
||||
{
|
||||
final PassportCallEvent endEvent =
|
||||
|
||||
@@ -19,7 +19,6 @@ package decode.passport;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import log.Log;
|
||||
import message.Message;
|
||||
import message.MessageType;
|
||||
import sample.Broadcaster;
|
||||
|
||||
Reference in New Issue
Block a user