Open epruesse opened 3 years ago
No problem, it is pleasure for me and occasion to learn something new 🤓
Sure I do. I will update repo soon and get rid of these "SINA"s" references.
I do not know if I understand you correctly but to get rid of modifying spdlog library I needed to hardcode default progress logger to use stdout (instead of using private FILE *target_file_
from spdlog sink). I was able to correctly log to both progress sink and file sink (example on the end of Readme or in src/example.cpp
).
to get rid of modifying spdlog library I needed to hardcode default progress logger to use stdout (instead of using private FILE *targetfile from spdlog sink)
I'll have to look over the code and changes. I'm sure minor modifications to spdlog that do not impact its performance will be accepted there.
Thanks for starting this project! I always meant to separate the progress bar out of SINA - it was really just in there for convenience because I was lacking time.
Can you put me into the authors list here? The code is derived after all (I do recognise some of my lines). I'll toss the code out of SINA and use this instead. We can also drop the references to "SINA's progress monitor" I think.
Where there any features you dropped? IIRC I've got some code to log at larger intervals with regular lines if the sink isn't a terminal.