Added comments to method logFor regarding side-effects and importance of
the parameter collector.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>