red: added LogLevelSwitch
green: implemented LogLevelSwitch
Merge pull request #168 from adamralph/158

#158 implemented LogLevelSwitch