odygrd / quill

Asynchronous Low Latency C++ Logging Library
MIT License
1.55k stars 158 forks source link

Adding Conda Package #394

Closed jamespinkerton closed 5 months ago

jamespinkerton commented 9 months ago

Hi! I'm using quill and it's working great. Would it be possible to create a conda package to release quill as well?

Thanks so much, James

odygrd commented 5 months ago

Sorry for the delay. I have made an attempt and a PR to conda-forge for the latest quill version. I will let you know when it is merged

odygrd commented 5 months ago

Package is now available for the latest version

https://anaconda.org/conda-forge/quill

jamespinkerton commented 5 months ago

I tried installing the package. I can't find the libquill.a? Did that get installed?

odygrd commented 5 months ago

the latest major version (v4) is header only, there won't be a libquil.a

You can wrap it to a static library if you wish so that you only build the backend worker thread once and you will only need to include the macros and the Logger header to log

please see for wrapping it as static library https://github.com/odygrd/quill/tree/master/examples/recommended_usage

Currently only v4 is available as conda package. v4 and v3 are not compatible

jamespinkerton commented 4 months ago

I got everything working with v4 and the library. Thanks for the help it's working great!