Functions WS 06 - output to log