TypeFox / open-collaboration-tools

Open Collaboration Tools: live-sharing solution for Eclipse Theia, VS Code and other editors and IDEs
https://www.open-collab.tools/
MIT License
81 stars 5 forks source link

Replace console logging with static central console logger, add more log statements #16

Closed kaisalmen closed 2 months ago

kaisalmen commented 2 months ago

Logger can be completely disabled via CLI arg --enableLogging=false It is enabled by default. Debug logging can be enabled via arg --debugLogging=true. It is disabled by default. More log statements have been added. All errors now use one function that by default logs the error as console.error(...) before throwing. This can be disabled.

kaisalmen commented 2 months ago

@spoenemann This ready for the second review round.

kaisalmen commented 2 months ago

@msujew this should be ready now.