public static void stop() { if (isRunning) { isRunning = false; StandardStreamRedirector.close(StandardStreamRedirector.StreamFileDescriptor.Output); onRedirectionStoped(); } }
public void Dispose() { StandardStreamRedirector.close(StandardStreamRedirector.StreamFileDescriptor.Error); if (!errorLogScanned) { scanErrorLog(); } if (!hasError) { File.Delete(tempLogFilePath); } else { zipLogFiles(); } }
public static void dispose() { stop(); StandardStreamRedirector.close(StandardStreamRedirector.StreamFileDescriptor.Output); }