Code example for Logger

Methods: finersevere

0
	} 
	 
	@Override 
	public void run() { 
		Publisher gm = getPublisher();
        log.finer("Announcing Android phone/Lumicall Battery metrics");
        try { 
			 
        	publishBattery(gm);
			 
		} catch (Exception e) {
			log.severe("Exception while sending a metric");
			e.printStackTrace();
		} 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java