/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public static void log(final int level, final Object message) { getInstance().doLog(level, message); }
/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public static void log(final int level, final Object message) { getInstance().doLog(level, message); }
/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public static void log(final int level, final Object message) { getInstance().doLog(level, message); }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p> * The exception's stacktrace will be appended to the log-stream</p> * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public static void log(final int level, final Object message, final Exception e) { getInstance().doLog(level, message, e); }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p/> * The exception's stacktrace will be appended to the log-stream * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public static void log(final int level, final Object message, final Exception e) { getInstance().doLog(level, message, e); }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p/> * The exception's stacktrace will be appended to the log-stream * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public static void log(final int level, final Object message, final Exception e) { getInstance().doLog(level, message, e); }
/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public void log(final int level, final Object message) { if (this.contextPrefix != null) { Log.getInstance().doLog(level, new Log.SimpleMessage(this.contextPrefix, ":", message)); } else { Log.getInstance().doLog(level, message); } }
/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public void log(final int level, final Object message) { if (this.contextPrefix != null) { Log.getInstance().doLog(level, new Log.SimpleMessage(this.contextPrefix, ":", message)); } else { Log.getInstance().doLog(level, message); } }
/** * Logs a message to the main log stream. All attached log targets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * * @param level log level of the message. * @param message text to be logged. */ public void log(final int level, final Object message) { if (this.contextPrefix != null) { Log.getInstance().doLog(level, new Log.SimpleMessage(this.contextPrefix, ":", message)); } else { Log.getInstance().doLog(level, message); } }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p/> * The exception's stacktrace will be appended to the log-stream * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public void log(final int level, final Object message, final Exception e) { if (this.contextPrefix != null) { Log.getInstance().doLog( level, new Log.SimpleMessage(this.contextPrefix, ":", message), e ); } else { Log.getInstance().doLog(level, message, e); } }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p/> * The exception's stacktrace will be appended to the log-stream * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public void log(final int level, final Object message, final Exception e) { if (this.contextPrefix != null) { Log.getInstance().doLog( level, new Log.SimpleMessage(this.contextPrefix, ":", message), e ); } else { Log.getInstance().doLog(level, message, e); } }
/** * Logs a message to the main log stream. All attached logTargets will also * receive this message. If the given log-level is higher than the given debug-level * in the main config file, no logging will be done. * <p> * The exception's stacktrace will be appended to the log-stream</p> * * @param level log level of the message. * @param message text to be logged. * @param e the exception, which should be logged. */ public void log(final int level, final Object message, final Exception e) { if (this.contextPrefix != null) { Log.getInstance().doLog( level, new Log.SimpleMessage(this.contextPrefix, ":", message), e ); } else { Log.getInstance().doLog(level, message, e); } }