Package org.tmatesoft.hg.util.LogFacility

Examples of org.tmatesoft.hg.util.LogFacility.Severity


    if (logFacility == null) {
      PropertyMarshal pm = new PropertyMarshal(this);
      boolean needDebug = pm.getBoolean("hg4j.consolelog.debug", false);
      boolean needInfo = pm.getBoolean("hg4j.consolelog.info", false);
      boolean needTime = pm.getBoolean("hg4j.consolelog.tstamp", true);
      Severity l = needDebug ? Severity.Debug : (needInfo ? Severity.Info : Severity.Warn);
      logFacility = new StreamLogFacility(l, needTime, System.out);
    }
    return logFacility;
  }
View Full Code Here

TOP

Related Classes of org.tmatesoft.hg.util.LogFacility.Severity

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.