renamed debug.h to logger.h