Simple logger, exports info/warnings/errors to console and log.txt