Added redirectConsoleLogToDocumentFolder method