A Portable Logging Library including tools