Made util::Logger also possible to output to console. Also untested.