Eight.Log.get

Retrieves the current log file contents as a string. Returns as a promise object with the result of the readTextAsync request.

Example

Eight.Log.get().done(function retrievedLog(logText) {
    // ... do something with your log ...
},
function retrieveLogError(er) {
    // ... this will likely only be called if nothing has been logged yet ...
});

Last edited Feb 10, 2013 at 2:24 AM by gotdibbs, version 3

Comments

No comments yet.