create Log Print Writer
Makes a PrintWriter from the given path, any IOExceptions are caught and logged.
Return
the returned PrintWriter, or System.out if some IOException occurred
Parameters
path To File
the path to the file that will be underneath the PrintWriter, must not be null
Makes a LogPrintWriter from the given File. IOExceptions are caught and logged. If the file exists it will be written over.
Return
the LogPrintWriter, may be a PrintWriter wrapping System.out if an IOException occurred
Parameters
file
the file support the returned PrintWriter, must not be null