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

Support logging to a file in JSON format #19

Open
LordNoteworthy opened this issue Feb 9, 2024 · 2 comments
Open

Support logging to a file in JSON format #19

LordNoteworthy opened this issue Feb 9, 2024 · 2 comments
Assignees
Labels

Comments

@LordNoteworthy
Copy link

Hello @lowleveldesign

Awesome project ! I found pretty much everything I needed, from the ability to trace a process and its childs, limiting to a set of handlers, or filtering on specific keywords. The only missing thing is a flexible output option.

Correct me if I am wrong, at the moment, the tool can only write to stdout, so you need to pipe it to a file then manually parse the output which is not good (as parsing cli output is a bad pattern anyway).

I believe producing in JSON format will be helpful for many folks.

Cheers.

@lowleveldesign
Copy link
Owner

Hi @LordNoteworthy ,

Thank you for the suggestion. Right now, the custom event properties are passed from the handlers as string, so adding custom output formatting will require some work. I do not have much free time for this now, but I will try to implement it in the next release.

@LordNoteworthy
Copy link
Author

Awesome ! Thank for your great work. Looking forward to it !

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

No branches or pull requests

2 participants