Link to home
Start Free TrialLog in
Avatar of motibianchi
motibianchi

asked on

c++ class logger

Im looking for a class logger in c++ .
this logger should manage the log files by limit the size and create a new file when its needed
also should flush to file in background thread
ASKER CERTIFIED SOLUTION
Avatar of pgnatyuk
pgnatyuk
Flag of Israel 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 patalog
patalog

See Boost.Log library. This library is not accepted by boost.org, but it pass formal review and will be accepted soon I hope.
MotiBianchi,
I would advise against Log4Cxx (and derivates).
There's an ennoying bug with multi-threading application (=> crashes!).
https://issues.apache.org/jira/browse/LOGCXX-322
https://issues.apache.org/jira/browse/LOGCXX-338
Best.