Package org.slf4j

Examples of org.slf4j.Logger.info()


        {
            log.debug(toString(), cause);
        }
        else if (getSeverity() == SeverityEnum.INFO)
        {
            log.info(toString(), cause);
        }
        else if (getSeverity() == SeverityEnum.WARN)
        {
            log.warn(toString(), cause);
        }
View Full Code Here


                HaxeTree ast = WorkspaceUtils.parseFileContents(in);
                in.close();
               
                if (ast == null)
                {
                    logger.info("HaxeLibProject.fillFileList Could not parse lib file: ", filePath);
                    continue;
                }
               
                String filename = file.getName().substring(0, file.getName().lastIndexOf('.'));
                // 1. Try get package from file itself
View Full Code Here

            {
                logger.debug(header + " " + getDebugInfo());
            }
            else
            {
                logger.info(header);
            }
        }
    }

    /**
 
View Full Code Here

    StringBuilder buff = new StringBuilder();
    if (!catalog.check( buff)) {
         logger.error("Invalid catalog <'{}'> \n {}",
             catalogURI, buff.toString());
    } else {
      logger.info("Good, no error found!");
    }

  }
}
View Full Code Here

    String log4jconf = commandLine.getOptionValue(LOG4J_CONF);
    if ((log4jconf != null)&&(log4jconf.length() > 0)) {
      PropertyConfigurator.configure(log4jconf);
      Logger sentryLogger = LoggerFactory.getLogger(SentryMain.class);
      sentryLogger.info("Configuring log4j to use [" + log4jconf + "]");
    }


    //Print sentry help only if commandName was not given,
    // otherwise we assume the help is for the sub command
View Full Code Here

        Logger logger = (Logger) jobDetail.getJobDataMap().get( AbstractJob.LOGGER );

        String jobName = jobDetail.getName();

        logger.info( ">>>>>>>>>>>>>>>>>>>>> Executing build job (" + jobName + ")..." );

        Continuum continuum = (Continuum) jobDetail.getJobDataMap().get( ContinuumSchedulerConstants.CONTINUUM );

        Schedule schedule = (Schedule) jobDetail.getJobDataMap().get( ContinuumSchedulerConstants.SCHEDULE );
View Full Code Here

        Logger logger = (Logger) jobDetail.getJobDataMap().get( AbstractJob.LOGGER );

        String jobName = jobDetail.getName();

        logger.info( ">>>>>>>>>>>>>>>>>>>>> Executing purge job (" + jobName + ")..." );

        Continuum continuum = (Continuum) jobDetail.getJobDataMap().get( ContinuumSchedulerConstants.CONTINUUM );

        ContinuumPurgeManager purgeManager = continuum.getPurgeManager();
       
View Full Code Here

    public static void info( Session session, String message )
    {
        Logger log = getLogger( session );
        if( log.isInfoEnabled() )
        {
            log.info( String.valueOf( session.getAttribute( PREFIX ) ) + message );
        }
    }

    public static void info( Session session, String message, Throwable cause )
    {
View Full Code Here

    public static void info( Session session, String message, Throwable cause )
    {
        Logger log = getLogger( session );
        if( log.isInfoEnabled() )
        {
            log.info( String.valueOf( session.getAttribute( PREFIX ) ) + message, cause );
        }
    }

    public static void warn( Session session, String message )
    {
View Full Code Here

    private Logger compliantLogger()
    {
        Logger logger = mockLogger();

        logger.info(EasyMock.isA(String.class));

        EasyMock.expectLastCall().atLeastOnce();

        return logger;
    }
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.