No idea what special stuff MS does (and honestly I don't care), but whatever you send to stdout via printf or puts or related functions appears in the build/run log, if that is what you want.
If you want to remove that output in "release" build, you can define a macro akin to assert which uses printf or whatever.