Skip to content
Discussion options

You must be logged in to vote

Hi @jmenzies12,

thanks for raising this. Unifying the logging methods on the client and using the sprotty Logger where possible definitely makes sense. I will put this on our road map.

Let's quickly summarize the necessary changes:

  • glsp-client:
    • Consistently use the injectable logger over console.log in injectable services
    • For stateless log (i.e. in plain functions) add an optional parameter so that we can pass-through a Logger instance.
  • vscode-integration
    • webview: same change as in client
    • extension: Introduce a root level Logger interface and use it over console.log
  • server-node:
    Make sure that we consistently use the provide Logger interface over console log
  • theia-integration:
    • no …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jmenzies12
Comment options

Answer selected by jmenzies12
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants