Added console output manipulation methods and added method to get a
string with the contents of a log file resulting of the logging of a
bunch of messages with a given formatter