Code example for PrintStream

Methods: printf

0
		return null; 
	} 
	 
	public static void v(String fmt,Object ... args) {
		if ( ps != null )
			ps.printf(fmt,args);
		String s = String.format(fmt, args);
		Log.v(TAG,s);
	} 
	 
	 
	public static void Dump() { 
		File file = new File(sLogFile);
		try { 
			String line = null;
			BufferedReader br = new BufferedReader( new InputStreamReader(new FileInputStream(file)));
			while ((line = br.readLine()) != null ) 
				Log.v(TAG,line);
			br.close();
		} catch ( Exception e ) {
			Log.v(TAG,"NetLog.Dump()=>"+e.toString());