Package uk.co.blackpepper.shadowtail.output.file

Examples of uk.co.blackpepper.shadowtail.output.file.FileLogger.log()


      @SuppressWarnings("unused")
      final ApplicationContext ctx = new FileSystemXmlApplicationContext(
          "file:" + args[0]);
      FileLogger logger = (FileLogger) ctx.getBean("statLogger");
      for (int i = 0; i < 5; i++) {
        logger.log();
        Thread.sleep(1000);
      }
    } catch (BeanDefinitionStoreException x) {
      log.error(x);
      throw new IllegalArgumentException(message, x);
View Full Code Here


      @SuppressWarnings("unused")
      final ApplicationContext ctx = new FileSystemXmlApplicationContext(
          "file:" + args[0]);
      FileLogger logger = (FileLogger) ctx.getBean("statLogger");
      for (int i = 0; i < 5; i++) {
        logger.log();
        Thread.sleep(1000);
      }
    } catch (BeanDefinitionStoreException x) {
      log.error(x);
      throw new IllegalArgumentException(message, x);
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.