Remove logs when NDEBUG and support for some stl-containers