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

Request: make fblog usable as a library #108

Open
mcginty opened this issue Oct 16, 2024 · 4 comments
Open

Request: make fblog usable as a library #108

mcginty opened this issue Oct 16, 2024 · 4 comments

Comments

@mcginty
Copy link

mcginty commented Oct 16, 2024

I've been using fblog and loving it, but typically like to build my own diagnosis tools for any complicated project. It would be incredible to have an fblog crate so I could use the features of fblog inside of other tools with custom settings!

@bomgar
Copy link
Member

bomgar commented Oct 16, 2024

Hi. I'm not sure if I want to commit to a stable API. Is there something specific you want to do that cannot be done by simply spawning fblog as an external process?

@mcginty
Copy link
Author

mcginty commented Nov 18, 2024

Hey @bomgar, sorry for the late response!

I wouldn't necessarily be looking for a stable API, and I could certainly use fblog as a subprocess, but one of the main advantages of offering a library alongside the binary is that I wouldn't need to work out how to package a fblog binary along with my own - I could just link it all into one portable binary.

@bomgar
Copy link
Member

bomgar commented Nov 19, 2024

I would merge it if you open a PR for that.

@mcginty
Copy link
Author

mcginty commented Nov 19, 2024

Sweet! I'll try to tackle it when I have a free moment :).

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

2 participants