/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @param t log this cause * @see org.apache.commons.logging.Log#debug(Object, Throwable) */ public void debug(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @see org.apache.commons.logging.Log#debug(Object) */ public void debug(Object message) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message)); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @see org.apache.commons.logging.Log#trace(Object) */ public void trace(Object message) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message)); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @param t log this cause. * @see org.apache.commons.logging.Log#trace(Object, Throwable) */ public void trace(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with * <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @see org.apache.commons.logging.Log#trace(Object) */ public void trace(Object message) { if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message)); }
/** * Logs a message with * <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @param t log this cause * @see org.apache.commons.logging.Log#debug(Object, Throwable) */ public void debug(Object message, Throwable t) { if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message), t); }
/** * Logs a message with * <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @see org.apache.commons.logging.Log#debug(Object) */ public void debug(Object message) { if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message)); }
/** * Logs a message with * <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @param t log this cause. * @see org.apache.commons.logging.Log#trace(Object, Throwable) */ public void trace(Object message, Throwable t) { if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message), t); }
/** * @see org.apache.avalon.framework.activity.Startable#stop() */ public void stop() throws Exception { this.getLogger().debug("Stopping worker thread ..."); this.terminateNow = true; this.workerThread.interrupt(); this.workerThread.join(10000); }
/** * @see org.apache.avalon.framework.activity.Startable#stop() */ public void stop() throws Exception { this.getLogger().debug("Stopping worker thread ..."); this.terminateNow = true; this.workerThread.interrupt(); this.workerThread.join(10000); }
/** * Set the application directory of the container. * * @param dir The applicationRootDir to set. */ private void setApplicationRootDir(File dir) { this.getLogger().debug("Setting applicationRootDir to " + dir.getAbsolutePath()); Validate.notNull(dir, "applicationRootDir is <null>"); Validate.isTrue(dir.exists(), "applicationRootDir does not exist"); this.applicationRootDir = dir; }
public void debug( final String message, final Throwable throwable ) { final Logger logger = getLogger(); try { logger.debug( message, throwable ); } finally { releaseLogger(); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @param t log this cause * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object, Throwable) */ public void debug(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object) */ public void debug(Object message) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message)); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @param t log this cause * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object, Throwable) */ public void debug(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @param t log this cause * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object, Throwable) */ public void debug(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log. * @param t log this cause. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#trace(Object, Throwable) */ public void trace(Object message, Throwable t) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message), t); } }
/** * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>. * * @param message to log * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#trace(Object) */ public void trace(Object message) { if (getLogger().isDebugEnabled()) { getLogger().debug(String.valueOf(message)); } }
/** * Incarnation of a configured service component. After the incarnation the * service component is operational. * * @param serviceComponent The service component to incarnate * @exception Exception incarnating the service component failed */ private void incarnate(ServiceComponent serviceComponent) throws Exception { this.getLogger().debug("Incarnating the service " + serviceComponent.getShorthand()); serviceComponent.incarnate(); }
public void onExit(AvalonInterceptorContext interceptorContext, Object result) { if (this.isServiceMonitored(interceptorContext) && this.getLogger().isDebugEnabled() == true) { StopWatch stopWatch = this.getStopWatch(interceptorContext); stopWatch.stop(); String msg = this.toString(interceptorContext, stopWatch, result); this.getLogger().debug(msg); } }