public static void logCommunicationFailure( Logger logger, InsteonHubProxy proxy, String device, Throwable t) { logger.warn( "Cannot communicate with Insteon Hub @" + proxy.getConnectionString() + " (device:" + device + ")", t); }
public static void logCommunicationFailure(Logger logger, InsteonHubProxy proxy, Throwable t) { logger.error("Communication error with Insteon Hub @" + proxy.getConnectionString(), t); }