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

Method log

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

Log the message at the specified level. @param level the log level. @param msg the message.

(Level level, String msg)

Source from the content-addressed store, hash-verified

210 * @param msg the message.
211 */
212 public void log(Level level, String msg) {
213 ifDebugOut(msg);
214 if (logger.isLoggable(level)) {
215 final StackTraceElement frame = inferCaller();
216 logger.logp(level, frame.getClassName(), frame.getMethodName(), msg);
217 }
218 }
219
220 /**
221 * Log the message at the specified level.

Callers 15

configMethod · 0.95
fineMethod · 0.95
finerMethod · 0.95
finestMethod · 0.95
watchMethod · 0.45
selectMethod · 0.45
watchAllMethod · 0.45
processKeysMethod · 0.45
unwatchAllMethod · 0.45
IMAPStoreMethod · 0.45
authenticateMethod · 0.45
newIMAPFolderMethod · 0.45

Calls 6

ifDebugOutMethod · 0.95
inferCallerMethod · 0.95
debugOutMethod · 0.95
getClassNameMethod · 0.80
isLoggableMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected