implement logger level