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

Use CURL debug callback function to log with spdlog? #90

Open
wolfv opened this issue Feb 23, 2022 · 0 comments
Open

Use CURL debug callback function to log with spdlog? #90

wolfv opened this issue Feb 23, 2022 · 0 comments

Comments

@wolfv
Copy link
Member

wolfv commented Feb 23, 2022

In mamba, we've recently started to route verbose CURL output through spdlog thanks to the debug callback:

https://github.com/mamba-org/mamba/blob/e5bb726e02a948f8e97e69a1e371dde6e8824823/libmamba/src/core/fetch.cpp#L218-L237

https://github.com/mamba-org/mamba/blob/e5bb726e02a948f8e97e69a1e371dde6e8824823/libmamba/src/core/fetch.cpp#L267-L269

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