I've been asked to implement Centralized Logging system in C++. But I'm new to programming, and it doesn't really make sense, what needs to be done in class Log
? I'm told that this class has to have 3 levels: ALL, ERROR, NONE. What should be in this levels? How should I link this class to my other source codes?
I still do not have clear view on Logging, and cant seem to find resources online. One of the task was not to spam cout
. I am really struggling on this, if someone could help me, I would greatly appreciate it.
Thank you.
Edit: Thank for answering. That helped, because I was not in 1st year and they taught python last year and i haven't, so that's why i am struggling with logging