It can replace stuff in your workflow if it exactly matches the name of the Workflow template. However, I have had mixed experiences, if I recall correctly it works differently for C# projects compared to VB
You might also find this discussion interesting. Specifically the solution provided by Idris at the end would perhaps meet your logging needs?