Add logging

`map` creates a new array. `forEach` just iterates over the existing one. In a lazy language (or with my functional brain in) I wouldn't mind, but someone's going to wonder why the array is created and not used. "Oh that must be slow!" I can hear the cries already.