重定向控制台。log消息到输出频道
如何配置我的扩展名来编写所有Conselo.log} Info | debug消息给输出渠道? 这似乎是lsp扩展名的默认值请参阅此问题,然后固定,但是我找不到如何设置此配置的常规扩展名。
显然,可以直接创建和写入自定义“ nofollow noreferrer”>输出通道但这需要我创建一个自定义的伐木类,该类仅复制以前做过的事情。
how can I configure my extension to write all conselo.log}info|debug messages to an outputchannel ?
this seems to be the default for LSP Extensions See this issue where it was broken and then fixed, however I have not been able to find how set this configuration for a regular extension.
Clearly it is possible to create and write directly to a custom Output Channel but that would require me to create a custom logging class that just replicates something that has been done before.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个解决方法,而不是精确的解决方案,
我最终创建了一个记录器,该记录器包裹
outputchannel
并写入它,然后在您的扩展程序中只需创建一个记录器,然后使用它
创建并显示
outputchannel < /代码>带有“ nav-code”的名称

This is a workaround rather than exact solution
I ended up creating a logger that wraps an
outputchannel
and writes to itThen in your extension just create a logger and use it
This creates and shows an

outputchannel
with the name 'Nav-Code'