mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Log simple names of plugin classes when polling.
This commit is contained in:
@@ -69,8 +69,10 @@ class PollerImpl implements Poller, Runnable {
|
||||
assert removed;
|
||||
final Collection<ContactId> connected =
|
||||
connRegistry.getConnectedContacts(p.plugin.getId());
|
||||
if(LOG.isLoggable(INFO))
|
||||
LOG.info("Polling " + p.plugin.getClass().getName());
|
||||
if(LOG.isLoggable(INFO)) {
|
||||
String name = p.plugin.getClass().getSimpleName();
|
||||
LOG.info("Polling " + name);
|
||||
}
|
||||
pluginExecutor.execute(new Runnable() {
|
||||
public void run() {
|
||||
p.plugin.poll(connected);
|
||||
|
||||
Reference in New Issue
Block a user