beginning of the Logger class (code & tests)