@Override
	public void open() throws IOException{
		datagramSocket = new DatagramSocket();
		address = InetAddress.getByName(host);
		// We create the datagram packet here, but with dummy data. This is
		// done instead of lazy initialization to have better performance when
		// logging. The datagram is re-used and we set new data each time before
		// logging.
		datagramPacket = new DatagramPacket(new byte[] { }, 0, address, port);
		logOpen = true;
	}
@ Override public void open ( ) throws IOException { datagramSocket = new DatagramSocket ( ) ; address = InetAddress . getByName ( host ) ; datagramPacket = new DatagramPacket ( new byte [ ] { } , 0 , address , port ) ; logOpen = true ; }
@see com.github.lisicnu.log4android.appender.AbstractAppender#open()