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

Method setDebug

app/src/main/java/javax/mail/Session.java:413–418  ·  view source on GitHub ↗

Set the debug setting for this Session. Since the debug setting can be turned on only after the Session has been created, to turn on debugging in the Session constructor, set the property mail.debug in the Properties object passed in to the constructor to true. The value of the <co

(boolean debug)

Source from the content-addressed store, hash-verified

411 * @param debug Debug setting
412 */
413 public synchronized void setDebug(boolean debug) {
414 this.debug = debug;
415 initLogger();
416 logger.log(Level.CONFIG, "setDebug: Jakarta Mail version {0}",
417 Version.version);
418 }
419
420 /**
421 * Get the debug setting for this Session.

Callers 1

_connectMethod · 0.80

Calls 2

initLoggerMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected