title: OutputDebugString() in console
body: <p>I am using a third party library that uses the function <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa363362(v=vs.85).aspx" rel="noreferrer"><code>OutputDebugString()</code></a>, and when reading the MSDN documentation it seems to indicate that this is for printing to the debugger.</p>
  
  <p>But that is inconvenient in my case, is there a way to read this output if there is no debugger connected?</p>
  
  <p>If it was my LIB, I would prefer the output to go to stdout/stderr whenever the user passes <code>--debug</code> or similar, but since it's not I am looking for other ways to pass this info to the console (or file) without connecting a debugger.</p>