mamba-org / powerloader

BSD 3-Clause "New" or "Revised" License
15 stars 9 forks source link

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

Open wolfv opened 2 years ago

wolfv commented 2 years ago

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