Added a logLevel property; updated signature of 'process' to pass in log level