add possibility to set up level of logger