mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Various logging cleanups (#65)
* Various logging cleanups * Move device info to string, apply spotless
This commit is contained in:
@@ -51,7 +51,6 @@ class UIOutboundSubscriber extends DataChangeSubscriber {
|
||||
switch (thisEvent.updateType) {
|
||||
case BROADCAST:
|
||||
{
|
||||
// logger.debug("Broadcasting message");
|
||||
if (event.data instanceof HashMap) {
|
||||
var data = (HashMap) event.data;
|
||||
socketHandler.broadcastMessage(data, null);
|
||||
@@ -62,7 +61,6 @@ class UIOutboundSubscriber extends DataChangeSubscriber {
|
||||
}
|
||||
case SINGLEUSER:
|
||||
{
|
||||
// logger.debug("Sending single user message");
|
||||
if (event.data instanceof Pair) {
|
||||
var pair = (SocketHandler.SelectiveBroadcastPair) event.data;
|
||||
socketHandler.broadcastMessage(pair.getLeft(), pair.getRight());
|
||||
|
||||
Reference in New Issue
Block a user