Logging defaults to printing to the output window under Visual studio.
Subroutine setup