https://github.com/eclipse-theia/theia/wiki/Coding-Guidelines#logging says we should use console.log instead if ILogger. However, it does not explain why. How do we handle trace logging, etc. if we cannot configure the log output?
[original thread by Thomas Mäder]
I however do not know the way forward in your specific use case unfortunately
default implementation then delegates to the original console, custom implementation can log somewhere else
I’ve updated the guidelines that one can call
console.debug as well, and how one can configure the logging level during development.
Generally, we have nowhere near enough log output to retrace the flow of exeuction, even at debug level.
Hi Thomas, what is a use case? I usually using the node debugger instead of
console.debug to investigate what is going wrong.