A single-thread log library.