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

Add possibility to see logs of handler run #34

Open
FreePhoenix888 opened this issue Mar 24, 2024 · 3 comments
Open

Add possibility to see logs of handler run #34

FreePhoenix888 opened this issue Mar 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@FreePhoenix888
Copy link
Member

I can use codesandbox, run code and see terminal

Here I want to see logs of handler run too. I do not want to just collect logs to array and return it at least because debug library has also add colors which is useful for seeing logs in console

@FreePhoenix888 FreePhoenix888 added the enhancement New feature or request label Mar 24, 2024
@FreePhoenix888
Copy link
Member Author

While this is not implemented we should use this https://github.com/deep-foundation/documentation/wiki/CheatSheet#log-in-handler as workaround

@Konard
Copy link
Member

Konard commented Mar 24, 2024

@FreePhoenix888 this can be done using #35

@Konard
Copy link
Member

Konard commented Mar 26, 2024

To do this issue, we will have to introduce a new link. Something like this: (PromiseResult ExecutionLogs SyncTextFile). The structure of links types should be discussed with @ivansglazunov, or it may be optional using a package that is installed separately. If package/type exists logs are recorded - if not - then no logs are recorded in deep, but these logs may still be available inside docker container.

To view logs in real time, we can update SyncTextFile's value and subscribe to changes to logs in the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants