create
Creates a FateLogWriter for the given file.
This is a convenience factory method that creates a FileOutputStream for the specified file and wraps it in a FateLogWriter. The file will be created if it doesn't exist, or overwritten if it does.
Return
A new FateLogWriter instance
Parameters
file
The file to write the log to
Throws
if the file cannot be created or opened for writing
Creates a FateLogWriter for the given file path.
This is a convenience factory method that creates a File from the path string and then calls create(File).
Return
A new FateLogWriter instance
Parameters
filePath
The path to the file to write the log to
Throws
if the file cannot be created or opened for writing