MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / redirectSystem

Method redirectSystem

ij/src/main/java/ij/io/LogStream.java:32–37  ·  view source on GitHub ↗

Redirects all output sent to System.out and System.err to ImageJ's log console using the default prefixes.

(boolean redirect)

Source from the content-addressed store, hash-verified

30 * using the default prefixes.
31 */
32 public static void redirectSystem(boolean redirect) {
33 if (redirect)
34 redirectSystem();
35 else
36 revertSystem();
37 }
38
39 /**
40 * Redirects all output sent to <code>System.out</code> and <code>System.err</code> to ImageJ's log console

Callers 2

setDebugModeMethod · 0.95
logMethod · 0.95

Calls 3

revertSystemMethod · 0.95
redirectSystemOutMethod · 0.95
redirectSystemErrMethod · 0.95

Tested by

no test coverage detected