src/LogfileOutput.js
function LogfileOutput(path) {

    this._path = path;

    var options = {
        flags: "w",
        mode: 0600
    };

    FS.writeFileSync(this._path, "");

/* TODO
    if (!this._fp) {
        throw new FileCreationFailed("Could not open file " + path);
    }
*/
}
function LogfileOutput(path) {

    this._path = path;

    var options = {
        flags: "w",
        mode: 0600
    };

    FS.writeFileSync(this._path, "");

/* TODO
    if (!this._fp) {
        throw new FileCreationFailed("Could not open file " + path);
    }
*/
}
function LogfileOutput ( path ) { this . _path = path ; var options = { flags : "w" , mode : 0600 } ; FS . writeFileSync ( this . _path , "" ) ; /* TODO
    if (!this._fp) {
        throw new FileCreationFailed("Could not open file " + path);
    }
*/ }
Creates an output writing to a file.
@extends OutputIface
@constructor
@param {String} path Path to logfile. Existing content will be overwritten.
@throws {exceptions.FileCreationFailed} If file at path could not be opened for writing.
Creates an output writing to a file .