Examples of ReallySimpleFormatter


Examples of net.yura.grasshopper.ReallySimpleFormatter

        Logger logger = Logger.getLogger("");
        int fileSize = 1024*1024*100; // 100 MB
        FileHandler txtLog = new FileHandler("log/LobbyServer.%g.log",fileSize,100,true);
        //txtLog.setFormatter(new org.quickserver.util.logging.MicroFormatter());
        txtLog.setFormatter( new ReallySimpleFormatter() );
        logger.addHandler(txtLog);

        // log SQL
        //Logger.getLogger("DataNucleus.Datastore.Native").setLevel(Level.FINEST);
       
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.