Stumpless at a glance
Stumpless is a C logging library built for high performance and a rich feature set.
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.
Check out our vision to see our ultimate goal! To see where weโre heading in the near future, check out the project roadmap.
Examples and Documentation
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
builds below:
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!