first implementation of logger, only in header atm.