Link to home
Start Free TrialLog in
Avatar of letharion
letharionFlag for Sweden

asked on

Simple to use logging for c++

Current I have a very rudimentary debug "function which looks like:

const bool debug = true;

if(debug) if(someError) cout << "Error occured";

I'm gonna redo this, mainly to move from stdout to stderr. While I'm at it, I'd like to ask if there's a specific library, or technique, or something else you would recommend me, or that I should keep in mind.
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of letharion

ASKER

Thanks :(
Ops. Thanks :)
Ofcourse :)