Method print.clear Overload Clears the output window or console text (if print.isWritingToConsole) or log file (if print.logFile not null). public static void clear()