Mike printf

Added the possibility to log printf style

To be done after #1 or instead of it