update

Now automatically flushes all connected loggers on exit, you have nothing to do (in particular, no need to add an atexit() handler).