如何强制将log4cplus日志显示在Visual Studio 2013调试控制台中?这是Qt应用程序,标准的ConsoleAppender不编写任何内容,RollingFileAppender可以正常工作。还有QtDebugAppender,但它不会写入调试控制台。
最佳答案
尝试使用 Win32DebugAppender
。它使用OutputDebugString()
。
如何强制将log4cplus日志显示在Visual Studio 2013调试控制台中?这是Qt应用程序,标准的ConsoleAppender不编写任何内容,RollingFileAppender可以正常工作。还有QtDebugAppender,但它不会写入调试控制台。
最佳答案
尝试使用 Win32DebugAppender
。它使用OutputDebugString()
。