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

Method getSubLogger

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

Create a MailLogger that uses a Logger whose name is composed of this MailLogger's name plus the specified sub-name, separated by a dot. The new MailLogger uses the new prefix for debug output. This is used primarily by the protocol trace code that wants a different prefix (none). @param subname t

(String subname, String prefix)

Source from the content-addressed store, hash-verified

182 * @return a MailLogger for the given name and prefix.
183 */
184 public MailLogger getSubLogger(String subname, String prefix) {
185 return new MailLogger(logger.getName() + "." + subname, prefix,
186 debug, out);
187 }
188
189 /**
190 * Create a MailLogger that uses a Logger whose name is composed

Callers 5

MessageCacheMethod · 0.80
ConnectionPoolMethod · 0.80
ProtocolMethod · 0.80
SMTPTransportMethod · 0.80
ProtocolMethod · 0.80

Calls 1

getNameMethod · 0.65

Tested by

no test coverage detected