Allow main/command argument injection + generalise setting logger levels.