Added note on logging

A logger should be used instead of puts.