Add log_fini() function to release all memory allocated by logging framework

This is e.g. quite useful to call at the end of test code, in order to
show that all memory allocated actually is released before exit().
2 files changed