LogEngine2 is a C++ header only library for easy and flexible logging.
Contains small amount of code in compare with other logging libraries.
Just copy the files from include folder to your project folder and use a C++20 compiler.
LogEngine2 can load loggers from .lfg file. Examples of .lfg files are included into bundle.
LogEngine2 provides various log targets: regular files, rotating log files, console logging, string stream, user custom function.
Log line format is easy configurable.
Features
- Headers only or compiled
- Feature-rich log formatting, using the C++20 std::format()
- Load loggers configuration from .lfg file
- Asynchronous logging mode (optional)
- Thread safe and thread unsafe loggers
- Custom callback logger type
- Log targets: Regular log files, Rotating files, Console, String stream, Custom function
- Log statistics
- Customizable log line patterns
Follow LogEngine2 library
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LogEngine2 library!