Added Logger object.
This object is used for logging. It can print and write the output of a program to standard output and to a file, simultaneously.