Code example for Writer

Methods: append

0
			gIsError=pIsError;
		} 
		 
		public void info(String pMessage) {
			try { 
				gWriter.append("[INFO]  "+pMessage);
			} catch (IOException e) {
				e.printStackTrace();
			} 
		} 
 
		public void error(String pMessage) {
			try { 
				gWriter.append("[ERROR] "+pMessage);
			} catch (IOException e) {
				e.printStackTrace();
			} finally { 
				gIsError=true;
			} 
		} 
}