Java tutorial
import java.util.logging.Logger; public class MainClass { public static void main(String[] args) { Logger logger = Logger.getLogger("DeviceLog"); logger.info("<Device id=\"99\"/>"); } }