Stumpless at a glance
Stumpless is a C logging library built for high performance and a rich feature set. Check out our vision to see what we are all about!
Stumpless offers a robust set of features to make logging in C faster and easier:
- cross-platform builds on Linux, Windows, Mac, Cygwin, and more
- easy logging to network targets like Splunk or rsyslog servers
- completely thread safe
- can be adjusted or removed during compilation for zero runtime impact
- interoperability with standard syslog daemons and library functions
- an extensive test suite is run continuously to ensure proper functionality
- localized for multiple languages 🇩🇪 🇫🇷 🇮🇹 🇸🇪 🇸🇰 (add yours!)
- easy-access documentation, examples, and support.
To see where we’re heading in the near future, check out the project roadmap.
If you’re just looking to start out, then take a look at some of the examples
below. There is source code for each of these in the
docs/examples folder of
the repository if you want to actually compile and run them.
- Basic Usage
- Using Severity Levels
- Working with Entries
- File Targets
- Network Targets
- Unix Socket Targets
- Stream Targets
- Windows Event Log Targets
- Custom Function Targets
- C++ Bindings
Detailed documentation of each function is included in the header files, and is
written using standard Doxygen syntax. You can generate the documentation
yourself with the
docs build target, or you can look at one of the online
Source and Contributing
If you want to check out the source code and/or look into becoming a contributor to stumpless, head over to the project’s github repository to find out more!