public void info(CharSequence msg) { info(msg, null); }
switch (level.intValue()) { case 1000: // SEVERE error(msg, t); break; case 900: // WARNING warning(msg, t); break; case 800: // INFO info(msg, t); break; case 700: // CONFIG error(msg, t); break; case 500: // FINE debug(msg, t); break; case 400: // FINER debug(msg, t); break; case 300: // FINEST trace(msg, t); break;
/** * Log a message. * * @param msg the message */ public void log(Level level, CharSequence msg) { log(level, msg, null); }
public void trace(CharSequence msg) { trace(msg, null); }
public void trace(CharSequence msg, Throwable t) { send(Level.FINEST, msg, t); } }
public void debug(CharSequence msg) { debug(msg, null); }
public void error(CharSequence msg) { error(msg, null); }
public void warning(CharSequence msg) { warning(msg, null); }
public void trace(CharSequence msg) { trace(msg, null); }
public void trace(CharSequence msg, Throwable t) { send(Level.FINEST, msg, t); } }
public void debug(CharSequence msg) { debug(msg, null); }
public void error(CharSequence msg) { error(msg, null); }
public void warning(CharSequence msg) { warning(msg, null); }
public void info(CharSequence msg) { info(msg, null); }
switch (level.intValue()) { case 1000: // SEVERE error(msg, t); break; case 900: // WARNING warning(msg, t); break; case 800: // INFO info(msg, t); break; case 700: // CONFIG error(msg, t); break; case 500: // FINE debug(msg, t); break; case 400: // FINER debug(msg, t); break; case 300: // FINEST trace(msg, t); break;
public void run() { ServletRequestContext.log.trace("Starting runnable " + runnable); try { runnable.run(); ServletRequestContext.log.trace("Ended runnable " + runnable); } catch (Exception e) { if (e instanceof InterruptedException) { Thread.currentThread().interrupt(); } ServletRequestContext.log.trace("Failure of runnable " + runnable, e); } } });
public void info(CharSequence msg, Throwable t) { send(Level.INFO, msg, t); }
/** * Log a message. * * @param msg the message */ public void log(Level level, CharSequence msg) { log(level, msg, null); }
private InjectorProvider getInjectImplementation(Logger log, Map<String, String> config) throws Exception { String inject = config.get(INJECT); if (inject == null) { log.debug("No inject implementation specified will detect one available"); TreeMap<Integer, InjectorProvider> providers = new TreeMap<Integer, InjectorProvider>(); for (InjectorProvider provider : InjectorProvider.values()) { if (provider.isAvailable()) { log.debug("Inject implementation " + provider.getValue() + " available"); providers.put(provider.getPriority(), provider); } else { log.debug("Inject implementation " + provider.getValue() + " not available"); if (i.hasNext()) { InjectorProvider implementation = i.next(); log.debug("Selected " + implementation.get() + " inject implementation"); return implementation; } else { log.debug("No inject implementation available"); return null; InjectorProvider implementation = InjectorProvider.find(inject); if (implementation == null) { log.debug("Inject implementation " + inject + " not available"); return null; } else {
log.error("Cannot parse form post", e);