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)
| 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 |
no test coverage detected