stripped out the logger abstraction