/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @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 */ public MailLogger(Class<?> clazz, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz); logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }
/** * Construct a new MailLogger using the specified class' package * name combined with the specified subname as the Logger name, * debug prefix (e.g., "DEBUG"), debug flag, and PrintStream. * * @param clazz the Logger name is the package name of this class * @param subname the Logger name relative to this 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 */ public MailLogger(Class<?> clazz, String subname, String prefix, boolean debug, PrintStream out) { String name = packageOf(clazz) + "." + subname; logger = Logger.getLogger(name); this.prefix = prefix; this.debug = debug; this.out = out != null ? out : System.out; }