MCPcopy Create free account
hub / github.com/M66B/FairEmail / MailLogger

Method MailLogger

app/src/main/java/com/sun/mail/util/MailLogger.java:70–76  ·  view source on GitHub ↗

Construct a new MailLogger using the specified Logger name, debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. @param name the Logger name @param prefix the prefix for debug output, or null for none @param debug if true, write to PrintStream @param out the PrintStream to write to

(String name, String prefix, boolean debug,
				PrintStream out)

Source from the content-addressed store, hash-verified

68 * @param out the PrintStream to write to
69 */
70 public MailLogger(String name, String prefix, boolean debug,
71 PrintStream out) {
72 logger = Logger.getLogger(name);
73 this.prefix = prefix;
74 this.debug = debug;
75 this.out = out != null ? out : System.out;
76 }
77
78 /**
79 * Construct a new MailLogger using the specified class' package

Callers

nothing calls this directly

Calls 4

packageOfMethod · 0.95
getLoggerMethod · 0.80
getDebugMethod · 0.80
getDebugOutMethod · 0.80

Tested by

no test coverage detected