Log the server socket details to make it easier to run manual tests

between two machines.
This commit is contained in:
akwizgran
2011-12-09 20:41:05 +00:00
parent f9f41acde9
commit 2014235b86
3 changed files with 6 additions and 3 deletions

View File

@@ -64,6 +64,8 @@ class BluetoothPlugin implements StreamPlugin {
synchronized(this) {
running = true;
localDevice = LocalDevice.getLocalDevice();
if(LOG.isLoggable(Level.INFO))
LOG.info("Address " + localDevice.getBluetoothAddress());
}
} catch(UnsatisfiedLinkError e) {
// On Linux the user may need to install libbluetooth-dev