created complex logger and added some tests (tests not completed yet)