Updated logging system to allow info/warn/err/critical to stdout/stderr in addition to the log file

Log file defaults to log.csv