Add logger as a dependency