A library of C++ classes for flexible logging to files (rolling), syslog, IDSA and other destinations. It is modeled after the Log for Java library (http://www.log4j.org), staying as close to their API as is reasonable. Home: https://log4cpp.sourceforge.net
Platforms: Linux, Windows, MacOS. New: CMake, CTest support for MS VS 2022, RAD Studio 12
Features
- C++
- Logging
- size rolling files, daily rolling files, syslog, IDSA, smtp, windows eventlog
- Linux, Windows, MacOS
- automake / AutoTools
- CMake
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow Log library for C++
Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit
Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Rate This Project
Login To Rate This Project
User Reviews
-
Excellent library. It doesn't perform like those "fast" c++ libraries, but it makes up for that in ease and flexibility of configuration and use.
-
Helpful
-
can't successfully compile it in MSVC 6
-
I've gave it a thumbs down but it's only because the release tarball isn't being properly maintained and I'm being forced to be a maintainer when I don't want to be. It's part of a larger failure of the C++ community where they don't want to just take one c++ version of log4j and bless it, in say in boost. log4cxx has similiar problems with a lot of extraneous dependencies. I've been using this for some time but now getting segfaults during the execution of Category shutdown. It doesn't actually build on debian or redhat but was able to work around that and use because the debian package installed and could fudge the install from debian to redhat. However I've gotten the head from CVS and it does build on lenny but not on VS 2005 (or presumably later).
-
I can't compile the source code under either VC6.0, or Visual Studio 2003, 2005.