log message in file

Hello.

How can I log a message or result in a logfile in workflow?