Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove logger infrastructure from server side #3487

Merged
merged 1 commit into from
Aug 17, 2020
Merged

chore: remove logger infrastructure from server side #3487

merged 1 commit into from
Aug 17, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Aug 15, 2020

On the server side:

  • We do not have user LoggerSink.
  • We do not use logger scopes.
  • We log into progress 90 percent of all logs.
  • We never use verbose(), always use error() for errors and always use info() for api.

This PR switches to a simple debugLogger that accepts api/protocol/browser/error log messages, and hardcodes colors for client-side channel logs.

docs/api.md Outdated Show resolved Hide resolved
src/chromium/crConnection.ts Show resolved Hide resolved
We do not implement LoggerSink on the server, so we can
use a simple debugLogger.
@dgozman dgozman merged commit 1e9c0eb into microsoft:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants