c# - Where do Console.Writeline messages of a DLL go?
问题描述
I am using a DLL (whose code I can see also) that uses Console.WriteLine
to write messages.
I am using it from a console application in which I use Trace.Writeline. If I eliminate the console (by making it a Windows application in the output of the Properties) where do these DLL console messages go?
Right now I am redirecting my Trace messages to go to a file even when running the release version. Is there a way to do something similar to the dll console messages?
And if not, if I put Trace messages in the DLL and recompile, are they also going to be redirected?
解决方案
推荐阅读
- postman - 如何使用 Postman 预请求脚本存储 cookie 值?
- cakephp-3.7 - CakePHP 3 自定义表单
- python - 按列绘制颜色散点图 Plotly
- ios - 在没有 Xcode 的 iPhone 上模拟 GPS 位置
- python - 我怎样才能修复在python中没有定义addr
- xml - 是否可以在不解析其子元素的情况下流式解析 XML 父元素?
- c++ - 从 QAbstractItemModel 中删除项目时 QSortFilterProxyModel 崩溃
- ms-word - 使用 pandoc 将 LaTeX 文档转换为单词——多列表格的问题
- directory - ADA - 使用模式搜索目录 - 没有按应有的方式返回
- ios - UITableView:滑动表格视图单元格时如何停止选择