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

Expose the logger so it can be used by other plugins #1

Open
jtpio opened this issue Jul 30, 2020 · 1 comment
Open

Expose the logger so it can be used by other plugins #1

jtpio opened this issue Jul 30, 2020 · 1 comment

Comments

@jtpio
Copy link
Member

jtpio commented Jul 30, 2020

The main plugin would define a provides here:

https://github.com/QuantStack/jupyterlab-js-logs/blob/a53cc32f51062620908d99b8081f6d3f616fdb7a/src/index.ts#L40-L50

So the same logger instance could be reused by other plugins (for example to pipe logs from an IFrame).

@jtpio
Copy link
Member Author

jtpio commented Dec 8, 2023

Maybe we can use the default log console is newer versions of JupyterLab now: jupyterlab/jupyterlab#8877 (comment)

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

No branches or pull requests

1 participant