Examples of warn()


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

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

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

    public void testLogkitLoggerWarnDisabled()
        throws Exception
View Full Code Here

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

        log.debug( text );
        log.debug( text, e );
        log.error( text );
        log.error( text, e );
        log.warn( text );
        log.warn( text, e );
        log.info( text );
        log.info( text, e );

        log.fatalError( text );
View Full Code Here

Examples of org.elasticsearch.common.logging.ESLogger.warn()

        }

        // warn if running using the client VM
        if (JvmInfo.jvmInfo().vmName().toLowerCase().contains("client")) {
            ESLogger logger = Loggers.getLogger(Bootstrap.class);
            logger.warn("jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line");
        }

        String stage = "Initialization";
        try {
            if (!foreground) {
View Full Code Here

Examples of org.gradle.api.logging.Logger.warn()

                URI projectDirUri = getProject().getProjectDir().toURI();
                @SuppressWarnings("unchecked") Map<String, Object> errors = (Map<String, Object>) data.get("errors");
                if (!errors.isEmpty()) {
                    URI relativePath = projectDirUri.relativize(file.toURI());
                    logger.warn("JsHint errors for file: {}", relativePath.getPath());
                    for (Map.Entry<String, Object> errorEntry : errors.entrySet()) {
                        @SuppressWarnings("unchecked") Map<String, Object> error = (Map<String, Object>) errorEntry.getValue();
                        int line = Float.valueOf(error.get("line").toString()).intValue();
                        int character = Float.valueOf(error.get("character").toString()).intValue();
                        String reason = error.get("reason").toString();
View Full Code Here

Examples of org.jboss.forge.addon.ui.output.UIOutput.warn()

         dt.edit(fileResource.getUnderlyingResourceObject());
      }
      else
      {
         UIOutput output = context.getUIContext().getProvider().getOutput();
         output.warn(output.err(), "Cannot edit [" + resource.getFullyQualifiedName() + "].");
      }
   }

}
View Full Code Here

Examples of org.jboss.logging.Logger.warn()

            logger.info(msg, th);
         }
         else if (level == Level.WARNING)
         {
            String msg = getMessage(record);
            logger.warn(msg, th);
         }
         else if (level == Level.SEVERE)
         {
            String msg = getMessage(record);
            logger.error(msg, th);
View Full Code Here

Examples of org.jostraca.util.CommandLineUserMessageHandler.warn()

    umh.setThreshold( UserMessageHandler.INFO );
    umh.add( UserMessageHandler.DEBUG, "debug03 FAIL" );

    umh.debug( "debug04 FAIL" );
    umh.info"info01" );
    umh.warn"warn01" );
    umh.error( "error01" );
    umh.fatal( "fatal01" );

    umh.info( "foo:", "bar" );
    umh.info( "foofoo:", "bar" );
View Full Code Here

Examples of org.jostraca.util.RecordingUserMessageHandler.warn()

    assertEquals( "DEBUG: debug01\nDEBUG: debug02\n", umh.toString( ) );
    assertEquals( "DEBUG: debug01\nDEBUG: debug02\n", umh.toString( UserMessageHandler.DEBUG ) );

    umh.info"info01" );
    umh.warn"warn01" );
    umh.error( "error01" );
    umh.fatal( "fatal01" );

    assertEquals( "DEBUG: debug01\nDEBUG: debug02\n", umh.toString( UserMessageHandler.DEBUG ) );
    assertEquals( "INFO: info01\n", umh.toString( UserMessageHandler.INFO ) );
View Full Code Here

Examples of org.jostraca.util.UserMessageHandler.warn()

    umh.setThreshold( UserMessageHandler.INFO );
    umh.add( UserMessageHandler.DEBUG, "debug03 FAIL" );

    umh.debug( "debug04 FAIL" );
    umh.info"info01" );
    umh.warn"warn01" );
    umh.error( "error01" );
    umh.fatal( "fatal01" );

    umh.info( "foo:", "bar" );
    umh.info( "foofoo:", "bar" );
View Full Code Here

Examples of org.jruby.common.RubyWarnings.warn()

    }

    private static void cmpFailed(ThreadContext context) {
        RubyWarnings warnings = context.runtime.getWarnings();

        warnings.warn("Comparable#== will no more rescue exceptions of #<=> in the next release.");
        warnings.warn("Return nil in #<=> if the comparison is inappropriate or avoid such comparison.");
    }

    /** cmp_gt
     *
 
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.