Move logger into header-file with macros for different logging levels