@Override
	public void flush() {
		if(open) {
			if(toConsole) {
				System.out.flush();
			}
			if(toFile) {
				try {
					fw.flush();
				} catch(IOException e) {
					e.printStackTrace();
				}
			}
			if(toStream) {
				try {
					outStream.flush();
				} catch(IOException e) {
					e.printStackTrace();
				}
			}
		}
	}