});
System.out.println();
}
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);
fc.dump(getClass(), Error, ex, "message");
}