simple configurable logging to console