Switched logging lib