[lsan] Minor code health stuff.

- introduce logging macros
- fix incorrect vector construction