cover stuff with test cases
[IRC.git] / Robust / src / Tests / Logger.java
1 public class Logger extends FileOutputStream {
2         //Logging flag
3         flag LogPending;
4         
5         //Constructor
6         public Logger(){
7         }
8
9         public void logrequest(){
10                 String filepath = new String("./Tests/htmlfiles/request.log");
11                 String request = new String(" New Request received\n");
12                 int mode=0;
13                 FileOutputStream logfile = new FileOutputStream(filepath,mode);
14                 logfile.write(request.getBytes());
15                 logfile.close();        
16         }
17
18 }