Package org.huihoo.willow.logger

Examples of org.huihoo.willow.logger.FileLogger


   */
  private static void customize(Context context)
  {
    // Create a customized file logger for this context
    String basename = context.getName();
    FileLogger special = new FileLogger();
    special.setPrefix(basename + "_log.");
    special.setSuffix(".txt");
    special.setTimestamp(true);
    // Override the default logger for this context
    context.setLogger(special);
  }
View Full Code Here

TOP

Related Classes of org.huihoo.willow.logger.FileLogger

Copyright © 2018 www.massapicom. 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.