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)
| 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 |
nothing calls this directly
no test coverage detected