SimpleLogger commit now explicitly flushes to disk
added BufferedLogger