@Test
public void testLog() throws Exception {

  final Log log = new Log(LoggerFactory.getLogger(LogTest.class));
  log.info("hello");
  log.startUnitOfWork();
  log.info("hello");
  log.endUnitOfWork();
  log.info("hello");
  spawnThread(log.getContext());
  log.endUnitOfWork();
  log.endUnitOfWork();
  log.endUnitOfWork();
  log.info("hello {}", "Peter");
  log.info("hello %s", "world");
  log.info("hello {}, {}, {}", "he", "she", "it");
  log.info("hello a {} {}", 100, "times");
  log.info("Decent number formatting looks like this: %.4f", 1970.114284121232);
  log.info("Oh, an exception! {}", new RuntimeException("Panic!"));
  log.info(null);
  log.info(null, "Args get lost");
}