Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.StreamLogFacility.dump()


  }
 
  private void testConsoleLog() {
    LogFacility fc = new StreamLogFacility(Debug, true, System.out);
    System.out.printf("isDebug: %s, isInfo:%s\n", fc.isDebug(), fc.getLevel() == Info);
    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
View Full Code Here


 
  private void testConsoleLog() {
    LogFacility fc = new StreamLogFacility(Debug, true, System.out);
    System.out.printf("isDebug: %s, isInfo:%s\n", fc.isDebug(), fc.getLevel() == Info);
    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
View Full Code Here

  private void testConsoleLog() {
    LogFacility fc = new StreamLogFacility(Debug, true, System.out);
    System.out.printf("isDebug: %s, isInfo:%s\n", fc.isDebug(), fc.getLevel() == Info);
    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
View Full Code Here

    LogFacility fc = new StreamLogFacility(Debug, true, System.out);
    System.out.printf("isDebug: %s, isInfo:%s\n", fc.isDebug(), fc.getLevel() == Info);
    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
    fc.dump(getClass(), Error, ex, "message");
View Full Code Here

    fc.dump(getClass(), Debug, "%d", 1);
    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
    fc.dump(getClass(), Error, ex, "message");
  }
 
View Full Code Here

    fc.dump(getClass(), Info, "%d\n", 2);
    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
    fc.dump(getClass(), Error, ex, "message");
  }
 
  private void testTreeTraversal() throws Exception {
View Full Code Here

    fc.dump(getClass(), Warn, "%d\n", 3);
    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
    fc.dump(getClass(), Error, ex, "message");
  }
 
  private void testTreeTraversal() throws Exception {
    File repoRoot = hgRepo.getWorkingDir();
View Full Code Here

    fc.dump(getClass(), Error, "%d", 4);
    Exception ex = new Exception();
    fc.dump(getClass(), Debug, ex, "message");
    fc.dump(getClass(), Info, ex, null);
    fc.dump(getClass(), Warn, ex, null);
    fc.dump(getClass(), Error, ex, "message");
  }
 
  private void testTreeTraversal() throws Exception {
    File repoRoot = hgRepo.getWorkingDir();
    Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), hgRepo.getToRepoPathHelper()));
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.