TreeLogger branch = logger.branch(TreeLogger.DEBUG, tstDbg1Str, null);
assertEquals(-1, sw.toString().indexOf(tstDbg1Str));
// Emit something that's low-priority and wouldn't show up normally unless
// it had a higher-priority child log event.
branch = branch.branch(TreeLogger.DEBUG, tstDbg2Str, null);
assertEquals(-1, sw.toString().indexOf(tstDbg2Str));
// Emit something that's high-priority and will cause both to show up.
branch.log(TreeLogger.ERROR, tstErrStr, null);