#158 implemented LogLevelSwitch

#158