Logging in a workflow

Whats the best way to log inside a workflow. I added core.echo but that does not shows up in the UI. Only the final output shows up in the UI.