Examples of debug()


Examples of org.apache.velocity.runtime.log.Log.debug()

    protected final void debug(String msg, Object... args)
    {
        Log log = getLog();
        if (log != null && log.isDebugEnabled())
        {
            log.debug(String.format(msg, args));
        }
    }

    public ToolContext createContext()
    {
View Full Code Here

Examples of org.apache.wicket.Page.debug()

  public void testHasMessageForComponentInt()
  {
    Session session = tester.setupRequestAndResponse().getSession();
    final Page page = new TestPage_1();
    tester.startPage(page);
    page.debug("debug message");
    page.info("info message");
    page.error("error message");
    Assert.assertTrue(session.getFeedbackMessages().hasMessageFor(page, FeedbackMessage.ERROR));
  }
}
View Full Code Here

Examples of org.asturlinux.frade.currin.program.Program.debug()

    public void testHelloWorldParse()
  throws ParsingException {
 
      Program p = Main.parseFile("prog-test/holamundo.cam");
     
      p.debug();
    }
}
View Full Code Here

Examples of org.bladerunnerjs.logging.Logger.debug()

  public static ResponseContent handle(BundleSet bundleSet, String logicalRequestpath, UrlContentAccessor contentAccessor, String version) throws MalformedRequestException, ResourceNotFoundException, ContentProcessingException {
    BundlableNode bundlableNode = bundleSet.getBundlableNode();
    App app = bundlableNode.app();
    Logger logger = app.root().logger(BundleSetRequestHandler.class);
   
    logger.debug(Messages.REQUEST_HANDLED_MSG, logicalRequestpath, app.getName());
   
    String name = (bundlableNode instanceof NamedNode) ? ((NamedNode) bundlableNode).getName() : "default";
    logger.debug(Messages.CONTEXT_IDENTIFIED_MSG, bundlableNode.getTypeName(), name, logicalRequestpath);
   
    ContentPlugin contentProvider = app.root().plugins().contentPluginForLogicalPath(logicalRequestpath);
View Full Code Here

Examples of org.codehaus.dna.impl.ConsoleLogger.debug()

        throws Exception
    {
        final ByteArrayOutputStream arrayOutput = new ByteArrayOutputStream();
        final PrintStream output = new PrintStream( arrayOutput );
        final ConsoleLogger logger = new ConsoleLogger( MockConsoleLogger.LEVEL_ALL, output );
        logger.debug( "ignore me!", null );
        final String message = arrayOutput.toString();
        final String expectedMessage =
            "[DEBUG] ignore me!" + System.getProperty( "line.separator" );
        assertEquals( "message", expectedMessage, message );
    }
View Full Code Here

Examples of org.codehaus.dna.impl.Jdk14Logger.debug()

        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.debug( message );
        checkLogger( output, message, throwable, type );
    }

    public void testJdk14LoggerDebugDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.Log4JLogger.debug()

        final Throwable throwable = null;
        final boolean output = true;

        final MockAppender target = new MockAppender();
        final Log4JLogger logger = createLogger( target, level );
        logger.debug( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLog4JLoggerDebugDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.dna.impl.LogkitLogger.debug()

        final Throwable throwable = null;
        final boolean output = true;

        final MockLogTarget target = new MockLogTarget();
        final LogkitLogger logger = createLogger( target, level );
        logger.debug( message );
        checkLogger( target, output, message, throwable, type );
    }

    public void testLogkitLoggerDebugDisabled()
        throws Exception
View Full Code Here

Examples of org.codehaus.plexus.logging.Logger.debug()

                if ( debug )
                {
                    List<Object> feedback = interpolator.getFeedback();
                    if ( feedback != null && !feedback.isEmpty() )
                    {
                        logger.debug( "Maven encountered the following problems during initial POM interpolation:" );

                        Object last = null;
                        for ( Object next : feedback )
                        {
                            if ( next instanceof Throwable )
View Full Code Here

Examples of org.destecs.core.simulationengine.SimulationEngine.debug()

      setCtSettings(engine);
      setCtImplementations(engine);

      engine.setOutputFolder(outputFolder);
      engine.debug(debug);

      engine.addProcessCreationListener(new IProcessCreationListener()
      {
        public void processCreated(String name, Process p)
        {
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.