Added Logger functionality