improved logging interface for elibpp