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

Feature request: Logging improvements #273

Open
8 tasks
akphi opened this issue Jun 22, 2021 · 0 comments
Open
8 tasks

Feature request: Logging improvements #273

akphi opened this issue Jun 22, 2021 · 0 comments
Labels
Application: Studio Issues related to Legend Studio application Component: Application Framework Issues related to the core application framework shared by all apps: Studio, Query, etc. Studio Core Team Opened by a member of the Studio core team Type: Enhancement Type: Feature Request Type: Refactor
Milestone

Comments

@akphi
Copy link
Contributor

akphi commented Jun 22, 2021

The only logger we have right now is the browser console, which is not the most convenient as it requires user to use a feature from the browser. Instead, we should try to make use of our in-app console.

Implementation

  • Use xterm for logging
  • Have a logger interface (this needs more thinking but we can roughly think of the followings):
    • ConsoleLog which prints to the web console - IMPORTANT Also, use this in test and disable the rest. Right now, some errors are not printed out to console during test, making it hard to debug.
    • GraphLog just for graph processing
    • AppLog for other events in the app
    • Configure the channels for each log, e.g. AppLog and GraphLog will cover different channels
  • CONSIDER moving logger into the app initialization interface
  • CONSIDER have an interactive log to allow user interacting with the app in a super hacky mode :)
@akphi akphi changed the title RFC: <brief description> RFC: Logging improvements Jun 22, 2021
@akphi akphi added the Studio Core Team Opened by a member of the Studio core team label Oct 29, 2021
@akphi akphi changed the title RFC: Logging improvements Feature request: Logging improvements Nov 6, 2021
@akphi akphi added this to the On Deck milestone Nov 18, 2021
@akphi akphi added Application: Studio Issues related to Legend Studio application Component: Application Framework Issues related to the core application framework shared by all apps: Studio, Query, etc. labels Feb 28, 2022
@akphi akphi modified the milestones: On Deck, Backlog Nov 1, 2022
@akphi akphi removed the help wanted label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Application: Studio Issues related to Legend Studio application Component: Application Framework Issues related to the core application framework shared by all apps: Studio, Query, etc. Studio Core Team Opened by a member of the Studio core team Type: Enhancement Type: Feature Request Type: Refactor
Projects
None yet
Development

No branches or pull requests

1 participant