fixed the log time output
This commit is contained in:
parent
316b208243
commit
c0c78e74dc
1 changed files with 1 additions and 6 deletions
|
|
@ -3,7 +3,6 @@ package ei.engine.util;
|
|||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.PrintStream;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
||||
/**
|
||||
|
|
@ -84,10 +83,6 @@ public class MultiPrintStream extends PrintStream {
|
|||
}
|
||||
|
||||
private String getTime(){
|
||||
try {
|
||||
return "" + (new SimpleDateFormat("yyyy/MM/dd HH:mm:ss")).parse(""+(new java.util.Date()));
|
||||
} catch (ParseException e) {
|
||||
return "";
|
||||
}
|
||||
return "" + (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS # ")).format(new java.util.Date());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue