mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Enabled logging in non-JUnit modem tests.
This commit is contained in:
@@ -68,6 +68,8 @@ class ModemPlugin implements DuplexPlugin, Modem.Callback {
|
||||
|
||||
public boolean start() {
|
||||
for(String portName : SerialPortList.getPortNames()) {
|
||||
if(LOG.isLoggable(INFO))
|
||||
LOG.info("Trying to initialise modem on " + portName);
|
||||
modem = modemFactory.createModem(this, portName);
|
||||
try {
|
||||
modem.init();
|
||||
|
||||
Reference in New Issue
Block a user