Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant