Examples of debug()


Examples of net.sf.isolation.logging.IsoLog.debug()

            this.value = context.getInstance(
                IsoConversionManager.class)
                .convert(value, type);
            return true;
          } catch (IsoConversionException exception) {
            log.debug(exception, propertyName);
          }
        } catch (IllegalStateException exception) {
          log.debug(exception, propertyName);
          if (exception.getCause().getClass() != NoSuchMethodException.class) {
            throw exception;
View Full Code Here

Examples of net.sf.jportlet.portlet.PortletLog.debug()

        /* URL */
        name  = prefix + ".url";
        value = portletConfig.getInitParameter( name );
        if ( debug )
        {
            log.debug( name + "=" + value );
        }

        if ( value != null )
        {
            return new URL( value ).openStream(  );
View Full Code Here

Examples of nexj.core.util.Logger.debug()

      try
      {
         if (logger.isDebugEnabled())
         {
            logger.debug("Transforming a message with transformation " + transformation.getName());
            logger.dump(obj);
         }

         Transformation oldTransformation = transformation;
View Full Code Here

Examples of org.apache.avalon.excalibur.testcase.BufferedLogger.debug()

        catch( InterruptedException e )
        {
        }

        // Try to get one more.  Should block until the other thread has put it back.
        logger.debug( "Lookup in main thread." );
        PoolableTestObjectInterface poolable =
            (PoolableTestObjectInterface)lookup( PoolableTestObjectInterface.ROLE + "/" + name );

        logger.debug( "Release in main thread." );
        release( (Component)poolable );
View Full Code Here

Examples of org.apache.avalon.framework.logger.CommonsLogger.debug()

        mockLog.expects(once()).method("debug").with(eq("JUnit"));
        mockLog.expects(once()).method("debug").with(eq("JUnit"), same(exception));

        if(logger.isDebugEnabled())
        {
            logger.debug("JUnit");
            logger.debug("JUnit", exception);
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.avalon.framework.logger.ConsoleLogger.debug()

        manager.put( SourceFactory.ROLE + "Selector", selector );

        resolver.service( manager );


        logger.debug( "resolver created - but is this correct ?" );

        //
        // setup a protocol handler - TO BE DONE
        //
View Full Code Here

Examples of org.apache.avalon.framework.logger.Logger.debug()

    public void test( Logger defaultLogger, String message )
    {
        final Logger logger = getLogger();
        //final String cat = logger.getCategory();
        //defaultLogger.info( "Category is " + cat );
        logger.debug( message );
        logger.info( message );
        logger.warn( message );
        logger.error( message );
        logger.fatalError( message );
    }
View Full Code Here

Examples of org.apache.click.service.LogService.debug()

         if (fieldList.isEmpty()) {
            LogService logService = ClickUtils.getLogService();
            if (logService.isDebugEnabled()) {
                String containerClassName =
                    ClassUtils.getShortClassName(container.getClass());
                logService.debug("   " + containerClassName
                    + " has no fields to copy from");
            }
            //Exit early.
            return;
        }
View Full Code Here

Examples of org.apache.commons.logging.Log.debug()

                RequestPath requestPath = new RequestPath(app);

                String txname = req.getMethod() + ":" + req.getPath();
                Log eventLog = app.getEventLog();
                if (eventLog.isDebugEnabled()) {
                    eventLog.debug(txname + " starting");
                }

                int tries = 0;
                boolean done = false;
                Throwable error = null;
View Full Code Here

Examples of org.apache.commons.logging.impl.Log4JLogger.debug()

    public void debug(Object arg0)
    {
        Log4JLogger logger = getLogger();
        if ( logger != null )
        {
            logger.debug(arg0);
        }
    }
    public void debug(Object arg0, Throwable arg1)
    {
        Log4JLogger logger = getLogger();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.