About this site

This is the home of the templog library, a very small and lightweight C++ library which you can use to add logging to your C++ applications. It heavily relies on expression templates and inlining to minimize run-time overhead caused by logging.

The templog library was mainly designed and implemented by Hendrik Schober, who has given thought to logging in C++ for about 15 years and during that time implemented half a dozen logging libraries.


This library comes with full source code and is licensed under the boost 1.0 license. This license is rather simple and (besides the usual disclaimer) basically says that you can do what you want with the code.

Where to go from here

Current Code

I haven't found much time to work on this in the last months (that's why there haven't been any new releases). However, I did indeed work on it somewhat. The latest development is on a branch, which did not yet get merged into the trunk. If you don't want to wait for a new release you can have a look at the current code through sourceforge's ViewVC. You can also check out (or export) the code using SVN with this https://templog.svn.sourceforge.net/viewvc/templog/code/branches/experiments/formatting_policy_lists URL.


You can use SourceForge for reporting bugs etc., but if you would like to contact me I'm hendrik at this domain.

(You'll probably have guessed it: The name of the library stems from the fact that it implements logging using templates. Hence "templog".)