Logger dependency is now optional.