configurable logging library