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

Implement (debug) logging framework with options to write to file or console #63

Open
JoostvanPinxten opened this issue Jun 8, 2020 · 1 comment

Comments

@JoostvanPinxten
Copy link
Contributor

Instead of writing to the console through printf or std::cout calls, I believe the SCROOM GUI app should use a logging framework to write messages that are to be used either for understanding implementation issues, or for debugging what is going wrong on file load etc.

The spdlog C++ library sounds like a promising library to achieve just this.

@kees-jan
Copy link
Owner

kees-jan commented Jun 8, 2020

I agree. However, before we can do that, we need to integrate with a package manager. Ubuntu 18.04 currently ships with spdlog 0.16.3, which is a bit old.

However, before we do that, I'd like to complete the switch to cmake. I've found an example CMakefile that integrates with conan, which is a promising package manager (see branch "thuis" for the current state of this).

So plenty of work remaining 😉

@kees-jan kees-jan added this to the sep leftovers milestone Jun 9, 2020
kees-jan pushed a commit that referenced this issue Jul 12, 2020
@kees-jan kees-jan modified the milestones: sep leftovers, 97 - Backlog, 0.13 Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants