The Log To block will Log the values from the child blocks to the defined file name. By default this block accepts one child block.
Use the gear icon to configure the number of child blocks that are available. For example the following will print 'Hello World' to 'test.log'
Right click on the Log To block to change to orientation of the child blocks to look like the following.